NoScript version: 2.6.9.27
Description: After export the white list, we see no separators in the file between URLs. I don't want to test the import feature because I think the result will be "amazing".
Export white list: no separators
Export white list: no separators
Last edited by Kdmeizk on Tue Jun 23, 2015 9:07 am, edited 2 times in total.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Re: Export white list: no separators
Please explain more, what's a separator and what do you mean by amazing?
(If you didn't explain more due to a language barrier, I can try to do this in French...)
(If you didn't explain more due to a language barrier, I can try to do this in French...)
*Always* check the changelogs BEFORE updating that important software!
-
Re: Export white list: no separators
You can look its content :
How NoScript can import this without a disaster ????????
How NoScript can import this without a disaster ????????
Last edited by Kdmeizk on Sun Feb 14, 2016 12:58 pm, edited 1 time in total.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Re: Export white list: no separators
Ah. Notepad can't handle Unix style end-of-line marker ("\n") - it only knows Windows/DOS end-of-line marker ("\r\n") and it doesn't know what to do with plain \n
For me on Unix whitelist entries are separated by new line. (I've just done an export to verify that this is still how it works.)
You might be able to see it properly if you use a text editor like GVim which is cross platform and knows how to handle different types of line endings
Please do this and let us know how it works, just to double check that there isn't actually a Windows-specific bug here.
For me on Unix whitelist entries are separated by new line. (I've just done an export to verify that this is still how it works.)
You might be able to see it properly if you use a text editor like GVim which is cross platform and knows how to handle different types of line endings
Please do this and let us know how it works, just to double check that there isn't actually a Windows-specific bug here.
*Always* check the changelogs BEFORE updating that important software!
-
Re: Export white list: no separators
notepad++ (I have already this) can handle and displays correctly. So no problems finally here again, sorry.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Re: [CLOSED] Export white list: no separators
That is pretty lame that notepad doesn't know how to handle an eol.
But should NoScript do more?
Can't it just check if OS = Windows, \r\n, else \n.
Or always use \r\n. Can't image there are such brain dead editors in Unix.
But should NoScript do more?
Can't it just check if OS = Windows, \r\n, else \n.
Or always use \r\n. Can't image there are such brain dead editors in Unix.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1
Re: [CLOSED] Export white list: no separators
I would imagine this wouldn't be too hard. It'd have to check for \r\n or \n on import though, but I can't imagine that'd be hard either.therube wrote:That is pretty lame that notepad doesn't know how to handle an eol.
But should NoScript do more?
Can't it just check if OS = Windows, \r\n, else \n.
OTOH just to work around a totally unrelated and unnecessary/replaceable program being lame, is it even worth Giorgio's effort when there are non-lame programs...
(And IIRC Notepad used to show a box for \n . Wonder what happened to that?)
... which sometimes shows up as ^M followed by a newline in Unix?therube wrote:Or always use \r\n

*Always* check the changelogs BEFORE updating that important software!
-
Re: [CLOSED] Export white list: no separators
Why add an unnecessary character on every line? If you're at the level where you want to manually edit your whitelist, you probably should have a better tool than Notepad. Even WordPad understands LF characters.
If, on the other hand, CR-LF doesn't import properly, then that would be an issue worth fixing.
If, on the other hand, CR-LF doesn't import properly, then that would be an issue worth fixing.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0