Giorgio Maone wrote:This is by design.
Actually NoScript goes great length to ensure this works.
Of course, if a non-whitelisted page tries to load a data: URI, scripts will be blocked there.
Ah OK then. Didn't realize NS differentiated between URL bar data: URI loads and content-originated data: URI loads.
Tried the obvious exploit scenario - meta refresh to a data URI from a script-blocked server - and indeed, the script did not run.
Also tried allowing the server - and the script ran if I clicked a link (inserted by NoRedirect) to the data URI, but it was blocked if I simply allowed the meta refresh the normal way.
Sorry about the misunderstanding.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26