Firefox – How to whitelist all scripts on a site with NoScript

firefoxnoscript

How do you make the Firefox NoScript extension allow all scripts used on a specific site?

There's a misnamed/buggy "Allow all this page" option, but it doesn't actually allow everything. It seems to only allow all scripts if they're served from the same domain, but anything else (e.g. cloudfront, google-analytics, etc) still get blocked. This often breaks the site, and makes NoScript unusable, since a lot of benign sites use a lot of off-domain includes for various media. Some sites have dozens of scripts, and naturally NoScript reloads the page each time you white-list something, so it can take a several minutes to get the site working.

Is there a way around this hassle, or is it simpler to just uninstall NoScript and/or use a better designed Javascript-blocker?

Best Answer

"Allow all this page" allows all the scripts that the current page refferences (from any domain). The gottcha is that those scripts may add refferences to additional domains that are still blocked. The site may also refference scripts on additional domains on other pages that you may navigate later. You may have to "Allow all this page" several times on the same site before all the scripts the site uses are unblocked.

NoScript is quite flexible in what it blocks, but it can take quite a bit of effort to get the results you're looking for. The inconvienience is directly related to the security that NoScript provides. If you want site specific javascript blocking, but don't want to set up the rules yourself, you could look for whitelists to import into NoScript (of course this is delegating your decision to trust a site to the source of the whitelist).

Related Question