Page 1 of 1

NS "Export" Option

Posted: Mon Jan 13, 2020 3:50 pm
by Skeezix
Using NS version 11.0.1.

I want to backup my NS files. So I click the NS Tools > Options icon and see an "Import" and an "Export" word. When I click on the "Export" word I get a dialog that asks me if I want to open or save the Noscript.data file. When I click the "Import" word I get a "File Upload" dialog.

I expected to see something like "Export to <filename>". What's happening here?

Re: NS "Export" Option

Posted: Mon Jan 13, 2020 4:40 pm
by barbaz
Because WebExtensions can only use HTML for UI and that's how the needed HTML elements work.

Re: NS "Export" Option

Posted: Tue Jan 14, 2020 2:16 pm
by Skeezix
thanks for your reply, but I'm not sure I understand it. It seems to say "that's how it is...".

How do I save or export my NS files? Just continue with the "File Upload" prompts? Won't that upload whatever file I select to NS?

Re: NS "Export" Option

Posted: Tue Jan 14, 2020 3:51 pm
by barbaz
Skeezix wrote:
Tue Jan 14, 2020 2:16 pm
How do I save or export my NS files?
Click "Export" and when prompted, select to save the file.
Skeezix wrote:
Tue Jan 14, 2020 2:16 pm
Just continue with the "File Upload" prompts? Won't that upload whatever file I select to NS?
No, it's not going to upload your settings over the Internet. You're just selecting a file for NoScript to read LOCALLY, in your browser.

Again, that "File Upload" wording is just part of how HTML <input type="file"> element works, and it's the same wording for every <input type="file"> regardless of what's actually done with the selected files.