data: URIs not working since NoScript 2.6.9.20rc1
Posted: Sun Jun 07, 2015 11:55 am
Copy of my post: viewtopic.php?p=76096&sid=dbe2ddb531444 ... 2fc#p76096
NoScript, since version 2.6.9.20rc1 released on March 28, 2015 is breaking data: URIs, we cannot open them unless we "allow scripts globally". In about:config, noscript.allowURLBarJS is set to true and the problem is still here.
I started talking about this bug in another thread (data:-URLs cannot be whitelisted) and shared a way to fix it (by removing "else if" block in Policy.js, line 560): viewtopic.php?f=10&t=20221&p=76079#p75748
Can someone merge the fix in the next update? I don't think there is an official git repository for NoScript. Currently NoScript users cannot right click on an HTML5 canvas and "View Image" (data:image/png;base64,xxxxx). We also can't open in URL bar data:text/html,<iframe src="http://www.youtube.com/embed/video_ID"> but we have to use javascript:document.location = "data:text/html,<iframe src=\"http://www.youtube.com/embed/video_ID\">".
NoScript, since version 2.6.9.20rc1 released on March 28, 2015 is breaking data: URIs, we cannot open them unless we "allow scripts globally". In about:config, noscript.allowURLBarJS is set to true and the problem is still here.
I started talking about this bug in another thread (data:-URLs cannot be whitelisted) and shared a way to fix it (by removing "else if" block in Policy.js, line 560): viewtopic.php?f=10&t=20221&p=76079#p75748
Can someone merge the fix in the next update? I don't think there is an official git repository for NoScript. Currently NoScript users cannot right click on an HTML5 canvas and "View Image" (data:image/png;base64,xxxxx). We also can't open in URL bar data:text/html,<iframe src="http://www.youtube.com/embed/video_ID"> but we have to use javascript:document.location = "data:text/html,<iframe src=\"http://www.youtube.com/embed/video_ID\">".