Changing the default list of trusted/whitelisted sites

Ask for help about NoScript, no registration needed to post
canussie
Posts: 2
Joined: Tue Apr 28, 2020 1:05 am

Changing the default list of trusted/whitelisted sites

Post by canussie » Tue Apr 28, 2020 1:09 am

Hi,
I am automating the installation of Chrome on a Fedora system, along with the installation of noscript. I have the chrome and noscript extension installing working nicely from a script, what I'd like to be able to do next is be able to modify the default list of permissions on sites as part of this. Is this possible? Is there a file that can be bundles into the package (in this case the crx) that can customise the list of trusted/untrusted sites?
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36

User avatar
therube
Ambassador
Posts: 7604
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Changing the default list of trusted/whitelisted sites

Post by therube » Tue Apr 28, 2020 2:37 am

(Oh, don't really know, but...

thinking, that given we're talking Quantum, you wouldn't be able to change the default list in (within) the .xpi itself?
but, would (does) a user.js (still) work?)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.3 Lightning/5.8.3

canussie
Posts: 2
Joined: Tue Apr 28, 2020 1:05 am

Re: Changing the default list of trusted/whitelisted sites

Post by canussie » Wed Apr 29, 2020 12:50 am

Thanks for the response. XPI is for firefox. I am talking about Chrome based browsers here. I will look around in the CRX file for user.js, thank you.
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36

User avatar
therube
Ambassador
Posts: 7604
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Changing the default list of trusted/whitelisted sites

Post by therube » Wed Apr 29, 2020 4:17 am

Heh.

While I've "used" Chrome, While I've installed (.xpi) extensions into Chrome, just figured (actually didn't even give it any thought) that it also used user.js, but now thinking that's not going to be the case.

http://kb.mozillazine.org/User.js_file

So, I'll stop now, lol.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.3 Lightning/5.8.3

Post Reply