Controlling whitelist via user.js in 10.x

Post a reply

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Controlling whitelist via user.js in 10.x

Re: Controlling whitelist via user.js in 10.x

by barbaz » Fri Feb 08, 2019 10:34 pm

Can't be done through user.js. WebExtensions have no way to access the prefs services.

related: viewtopic.php?f=10&t=24590

Controlling whitelist via user.js in 10.x

by zlatinb » Fri Feb 08, 2019 9:09 pm

Hi,

I am developing a Firefox profile bundled with NoScript and I want to disable all scripts globally by default except for localhost. Is there a way to do that entirely through properties in user.js or is it necessary to bundle some kind of sqlite file?

Alternatively, can I prepare a whitelist manually, export it and then have NoScript automatically import it on startup?

Any other suggestions are welcome - my main goal is to have my users download the Firefox profile and not need to change any settings manually.

Thanks

Top