[FIXED] The new import feature doesn't import whitelists (?)

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

[FIXED] The new import feature doesn't import whitelists (?)

Post by Floe »

The import button which has returned in one of the most recent updates doesn't seem to be working with whitelists from old versions unless I am missing something. I import a whitelist from the October 2017 version of NoScript and the page refreshes without changing anything on the list. Is this the intended behaviour? What am I doing wrong?
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
User avatar
Giorgio Maone
Site Admin
Posts: 9546
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: The new import feature doesn't import whitelists (?)

Post by Giorgio Maone »

Could you please email me this list for me to check (my address is on the top right of https://maone.net)?
Thanks.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Guest

Re: The new import feature doesn't import whitelists (?)

Post by Guest »

Thank you for the suggestion. It appears that all the whitelists I saved over the years were not simple URL lists but "NoScript settings + whitelists". After trying the suggestion here, I managed to get it working: https://forums.informaction.com/viewtop ... 236#p94800

That is, apparently the content of the text file has to simply be:

Code: Select all

"whitelist":"something.com etc.org ................... ",
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
User avatar
Giorgio Maone
Site Admin
Posts: 9546
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: The new import feature doesn't import whitelists (?)

Post by Giorgio Maone »

Guest wrote:Thank you for the suggestion. It appears that all the whitelists I saved over the years were not simple URL lists but "NoScript settings + whitelists".
Actually NoScript 10 should be able to import also full NoScript 5 preferences JSON exports like yours, so I'm still interested to see what's wrong with it.
OTHO, "whitelist-only" imports just need to be space (or newline) separated list of URL/domains (possibly followed by an [UNTRUSTED] section with the legacy "blacklist").
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
User avatar
Giorgio Maone
Site Admin
Posts: 9546
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: The new import feature doesn't import whitelists (?)

Post by Giorgio Maone »

A bug preventing some JSON exports from NoScript "classic" to be imported has been fixed in 10.1.6.2rc2 thanks to the file the OP emailed me today :)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
bo elam
Senior Member
Posts: 208
Joined: Sat Oct 14, 2017 2:25 am

Re: The new import feature doesn't import whitelists (?)

Post by bo elam »

Giorgio Maone wrote:A bug preventing some JSON exports from NoScript "classic" to be imported has been fixed in 10.1.6.2rc2 thanks to the file the OP emailed me today :)
I can confirm, Import is working again. :)

Bo
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:57.0) Gecko/20100101 Firefox/57.0
Post Reply