Whitelisting *.gov

Ask for help about NoScript, no registration needed to post
nouser1

Whitelisting *.gov

Post by nouser1 » Wed Jan 16, 2019 7:59 pm

Is it possible to whitelist all .gov websites?
I haven't been able to get a successful result when using *.gov, since it treats the asterisk as part of the domain name.

barbaz
Senior Member
Posts: 8913
Joined: Sat Aug 03, 2013 5:45 pm

Re: Whitelisting *.gov

Post by barbaz » Wed Jan 16, 2019 8:06 pm

Whitelisting an entire TLD is a bad idea. Even for a "relatively safe" TLD like .gov. You would be more secure only whitelisting the specific .gov websites you need.

If you really need to do it anyway, and if you're using NoScript 10, you could try going to NoScript Options > Per-site Permissions, and manually set "gov" to Trusted.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:56.0; Waterfox) Gecko/20100101 Firefox/56.2.6

Guest

Re: Whitelisting *.gov

Post by Guest » Fri Feb 15, 2019 5:25 am

manually set "gov" to Trusted
Can you explain what you mean?
I haven't seen results by whitelisting *.gov, and I can't add .gov without putting in an actual domain name.
Is there a regex or other method I should be using?
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0

barbaz
Senior Member
Posts: 8913
Joined: Sat Aug 03, 2013 5:45 pm

Re: Whitelisting *.gov

Post by barbaz » Fri Feb 15, 2019 12:25 pm

I mean literally type just "gov" (without quotes)
*Always* check the changelogs BEFORE updating that important software!
-

Post Reply