data: URIs not working since NoScript

The battleground for flame wars, off-topic derailments and spurious madness.
Posts: 12
Joined: Tue Apr 28, 2015 7:09 pm

data: URIs not working since NoScript

Post by baptx » Sun Jun 07, 2015 11:55 am

Copy of my post: viewtopic.php?p=76096&sid=dbe2ddb531444c93dce5cc32a633f2fc#p76096

NoScript, since version 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=""> but we have to use javascript:document.location = "data:text/html,<iframe src=\"\">".
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0

Senior Member
Posts: 9502
Joined: Sat Aug 03, 2013 5:45 pm

Re: data: URIs not working since NoScript

Post by barbaz » Sun Jun 07, 2015 6:47 pm

Do NOT copy an existing post into a new thread just because you aren't satisfied with the help you get. All Moderators are VOLUNTEERS and Giorgio Maone has a HUGE todo list, so be patient while he gets to this. We do allow legitimate posters such as yourself bumping old threads, if you do that it's MUCH easier to follow up properly - as then we don't have to look in multiple different places to find out what's already been said and where to go.
You want faster help, ask Giorgio about the possibility of sponsoring this bug fix with a monetary donation to NoScript.

Moving to Ragnarök and locking as a crosspost. The bug report thread is actually @ viewtopic.php?f=10&t=20221 (and your other post will be edited to reflect that), continue there.
*Always* check the changelogs BEFORE updating that important software!