data: URIs not working since NoScript 2.6.9.20rc1

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

data: URIs not working since NoScript 2.6.9.20rc1

Post by baptx »

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\">".
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: data: URIs not working since NoScript 2.6.9.20rc1

Post by barbaz »

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!
-
Locked