[RFE] Remember file path *and* name when import/export

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

[RFE] Remember file path *and* name when import/export

Post by aaa »

When importing/exporting Options or the whitelist, NS remembers the path but not the filename. Can you make it remember the filename as well, so if you always export to the same name, you just have to click Save as the filename is already filled out on the Load/Save dialog.

Also, can you store separate file-paths for the Option's and Whitelist (ie. one path for Import/Export Options, and another for Import/Export Whitelist). If either doesn't exist, it would be nice if it used the path from the other one initially, but without the filename.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: Remember full file path (inc. filename) when import/expo

Post by Tom T. »

aaa wrote:When importing/exporting Options or the whitelist, NS remembers the path but not the filename. Can you make it remember the filename as well, so if you always export to the same name, you just have to click Save as the filename is already filled out on the Load/Save dialog.
Sounds good. Seems like all that is needed is a new about:config entry. noscript.export.Name.

However, if you already have saved one and want to avoid the "replace" prompt, or just for easier reference, it might be even cooler for NS to default to capturing the system date, and use that plus "Whitelist" for the file name. Whitelist 052612.txt or Whitelist 260512.txt depending on localization.
aaa wrote:Also, can you store separate file-paths for the Option's and Whitelist (ie. one path for Import/Export Options, and another for Import/Export Whitelist). If either doesn't exist, it would be nice if it used the path from the other one initially, but without the filename.
Also sounds good, and also sounds like just another about:config entry or two:

noscript.exportWLDir
noscript.exportWLName
noscript.exportSettingsDir
noscript.exportSettingsName


I'll make this an RFE, and add my support to it. Thanks for the idea.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/12.0
User avatar
Giorgio Maone
Site Admin
Posts: 9557
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [RFE] Remember file path *and* name when import/export

Post by Giorgio Maone »

I had put this in my TODO list yesterday, thank you both.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0
Post Reply