Can Facebook Scripts Be Permanantly Blacklisted?

Ask for help about NoScript, no registration needed to post
moo4x
Posts: 2
Joined: Wed May 02, 2018 8:24 pm

Can Facebook Scripts Be Permanantly Blacklisted?

Post by moo4x »

Hi, this is my first post. I've been using NS for years.

I am wondering if it is possible to totally Blacklist all Facebook scripts (& possibly Google Analytics) so if I select "temporarily allow entire page" it would still block the blacklisted scripts.

If so, I would greatly appreciate detailed instructions.

Thanks for a great program!
Mozilla/5.0 (Windows NT 5.1; rv:38.9) Gecko/20100101 Goanna/2.2 Firefox/38.9 PaleMoon/26.5.0
User avatar
Giorgio Maone
Site Admin
Posts: 9546
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Can Facebook Scripts Be Permanantly Blacklisted?

Post by Giorgio Maone »

Unfortunately that's not currently possible (yet) in Quantum, and I tend to believe it's been an overlook on my part.
In NoScript Classic, sites explicitly marked as Untrusted are unaffected by "Temporarily allow all on this page". I think it should be the same for sites set as UNTRUSTED, so I'm likely to fix that in next release.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
barbaz
Senior Member
Posts: 11138
Joined: Sat Aug 03, 2013 5:45 pm

Re: Can Facebook Scripts Be Permanantly Blacklisted?

Post by barbaz »

They're using NoScript Classic.

Method 1

NoScript menu > Untrusted > Mark facebook.net as Untrusted

repeat for all facebook domains

Method 2

1) create a file 'facebook-blacklist.txt' and fill it with facebook domains following this pattern -

Code: Select all

[UNTRUSTED]
facebook.com
facebook.net
fbcdn.net
http://facebook.com
http://facebook.net
http://fbcdn.net
https://facebook.com
https://facebook.net
https://fbcdn.net
"[UNTRUSTED]" must be the first line of this file. The http and https entries are required for 2nd-level domains, they are not needed for 3rd-or-greater-level domains.

2) NoScript Options > Whitelist > Import (*not* the Import on the very bottom of NS Options)
*Always* check the changelogs BEFORE updating that important software!
-
moo4x
Posts: 2
Joined: Wed May 02, 2018 8:24 pm

Re: Can Facebook Scripts Be Permanantly Blacklisted?

Post by moo4x »

Thanks for both answers! I'm using both versions depending on the pc in question.

Re method #1, I apologize, but I'm not seeing anywhere under the untrusted tab to enter domains, script names, etc.
Mozilla/5.0 (Windows NT 5.1; rv:38.9) Gecko/20100101 Goanna/2.2 Firefox/38.9 PaleMoon/26.5.0
barbaz
Senior Member
Posts: 11138
Joined: Sat Aug 03, 2013 5:45 pm

Re: Can Facebook Scripts Be Permanantly Blacklisted?

Post by barbaz »

moo4x wrote:Re method #1, I apologize, but I'm not seeing anywhere under the untrusted tab to enter domains, script names, etc.
You would have to browse to a site that includes facebook scripts.
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply