Automatic import feature request

Bug reports and enhancement requests
Post Reply
akci
Posts: 6
Joined: Thu Nov 23, 2017 9:57 am

Automatic import feature request

Post 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.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: Automatic import feature request

Post by barbaz »

Why?
*Always* check the changelogs BEFORE updating that important software!
-
akci
Posts: 6
Joined: Thu Nov 23, 2017 9:57 am

Re: Automatic import feature request

Post by akci »

The primary benefit would be to make it easier to replicate NoScript settings across multiple computers.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: Automatic import feature request

Post 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.)
*Always* check the changelogs BEFORE updating that important software!
-
akci
Posts: 6
Joined: Thu Nov 23, 2017 9:57 am

Re: Automatic import feature request

Post by akci »

Working with storage-sync.sqlite will not work for my situation but thanks for the suggestion.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
akci
Posts: 6
Joined: Thu Nov 23, 2017 9:57 am

Re: Automatic import feature request

Post by akci »

Would it be possible to read the settings from prefs.js the way NoScript did before version 10?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: Automatic import feature request

Post 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. :(
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply