In a django project, I\'ve set up a JavaScript function to select/block certain pages. I have another JavaScript function for the pages that are being loaded. This function