5

I started using the Firefox extension NoScript, but I'd like to allow all scripts by default, only one particular domain (google-analytics.com) should be blocked/blacklisted.

Is that possible? I could figure out only the other way around: It disables everything by default, but allows a few pages from a whitelist; but this behavior makes the web pretty unusable.

dehmann
  • 2,243
  • 3
  • 24
  • 26

3 Answers3

2

I'm not sure whether this solution was possible by the time the question was asked. However, under 'options' there are 3 standard setting: 'default', 'trusted' and 'untrusted'. 'Default' is what every website gets by default. Activate that tab and now you can tick everything you want to allow. To blacklist websites, switch them to 'untrusted'. Edit: Added a screen shot to clarify the point

  • 7 year old question! Good Necro, man.The first part of the question is about allowing all by default. Your answer doesn't explain that part. I would suggest using a different plugin. There are plenty of ones for blocking simple stuff like this. – HackSlash Mar 02 '18 at 00:21
  • I'm not a native speaker. Allowing all by default is done by modifying the 'default' setting: Just tick everything 'script', 'object', 'media', 'frame' etc. – Burghard Hoffmann Mar 02 '18 at 13:42
  • Ok. He is asking for a way to set something like "Allow all on this page" on every page by default. This is called "blacklisting". NoScript is a "whitelisting" program. It does the opposite of what he wants. Blacklisting is not effective security. He should use a different plugin or use this one properly. – HackSlash Mar 02 '18 at 16:28
2

NoScript allows blacklisting. Just select "Allow script globally (dangerous)", then use "Forbid google-analytics.com".

  • This is a secondary solution. It would be great to find a direct solution. Blacklist google-analytics.com - that is. So the statement *NoScript allows blacklisting* is exaggeration because it does not do it explicitly. – Léo Léopold Hertz 준영 Apr 16 '16 at 10:50
  • 1
    Doesn't work in current version of Noscript. By checking "Disable restrictions globally" you lose ability to use per-site permissions. Meaning that you allow everything without exceptions, when using this checkbox. – KarmaPeasant Feb 11 '23 at 07:09
1

I do not think NoScript allows you to blacklist.

If you click the NoScript icon in the bottom-right you can whitelist domains as you go. Just pop up the menu and click "allow" (not "temporarily allow"). There's also an "Allow all this page" option here as well.

This is the safest option, as you're protected against every domain you've not visited - instead of just one you're trying to blacklist; there's plenty of other tracking and malicious domains out there you probably want protection from as well.

Alternatively, check out the question Soft version of NoScript?, which offers some alternative options to achieve what you're after (but potentially without the security gains).

DMA57361
  • 18,562
  • 7
  • 72
  • 96