by Moini » Fri Nov 22, 2019 9:09 pm
Hi,
I've got an SVG file with a piece of javascript embedded in a script tag, and inside, wrapped in a CDATA section (because it's using 'less than' symbols which interfere with XML).
This SVG file lives in my /tmp directory.
If I browse there with file:///tmp/drawing.svg , the NoScript hover text over the icon in Firefox tells me that it has blocked 0 of 0 scripts, but the script does not seem to be executed.
If I open the console, it tells me "[NoScript] Some script managed to be inserted in the DOM while fetching policy, blocking it."
When I click on the NoScript icon, I get the message that 'this is a privileged page and you cannot change its permissions'.
When I check the noscript rule for file: it says that it's a trusted site.
So, how can I run the script in my own, self-created SVG file that is saved on my own computer, without entirely deactivating NoScript?
It once worked without a problem.
I frequently need to test local files with javascript, and I don't want to use another browser for it.
NoScript version: 11.0.9
Firefox version: 70.0.1
Hi,
I've got an SVG file with a piece of javascript embedded in a script tag, and inside, wrapped in a CDATA section (because it's using 'less than' symbols which interfere with XML).
This SVG file lives in my /tmp directory.
If I browse there with file:///tmp/drawing.svg , the NoScript hover text over the icon in Firefox tells me that it has blocked 0 of 0 scripts, but the script does not seem to be executed.
If I open the console, it tells me "[NoScript] Some script managed to be inserted in the DOM while fetching policy, blocking it."
When I click on the NoScript icon, I get the message that 'this is a privileged page and you cannot change its permissions'.
When I check the noscript rule for file: it says that it's a trusted site.
So, how can I run the script in my own, self-created SVG file that is saved on my own computer, without entirely deactivating NoScript?
It once worked without a problem.
I frequently need to test local files with javascript, and I don't want to use another browser for it.
NoScript version: 11.0.9
Firefox version: 70.0.1