Page 1 of 1
Automatic import feature request
Posted: Fri Mar 02, 2018 4:27 pm
by akci
It would be very useful if on startup NoScript would check the users profile for noscript_data.txt and automatically import it if present.
Re: Automatic import feature request
Posted: Fri Mar 02, 2018 4:32 pm
by barbaz
Why?
Re: Automatic import feature request
Posted: Fri Mar 02, 2018 4:51 pm
by akci
The primary benefit would be to make it easier to replicate NoScript settings across multiple computers.
Re: Automatic import feature request
Posted: Fri Mar 02, 2018 5:23 pm
by barbaz
I don't think it's technically possible in WebExtensions.
Anyway, if replicating NoScript config is the goal, sounds simpler to just copy storage-sync.sqlite to the other computers' Firefox
profile. That's where NoScript (and any other extensions using chrome.storage.sync) stores its settings.
(Be sure to completely quit Firefox *before* copying files to or from a profile.)
Re: Automatic import feature request
Posted: Fri Mar 02, 2018 5:45 pm
by akci
Working with storage-sync.sqlite will not work for my situation but thanks for the suggestion.
Re: Automatic import feature request
Posted: Fri Mar 02, 2018 11:57 pm
by akci
Would it be possible to read the settings from prefs.js the way NoScript did before version 10?
Re: Automatic import feature request
Posted: Sat Mar 03, 2018 2:07 am
by barbaz
akci wrote:Would it be possible to read the settings from prefs.js the way NoScript did before version 10?
No, WebExtensions can't access prefs. WebExtensions really are much more limited than legacy extensions.
