Page 1 of 1
NS breaks JSON Viewer in Firefox Developer Edition
Posted: Sat Nov 14, 2015 2:15 am
by Toad King
When trying to view a JSON document with NoScript enabled I get a white page and lots of errors in the devtools console, all of which are "TypeError: React is undefined". Allowing scripts globally does not fix the issue.
Test doc:
https://ac.duckduckgo.com/ac/?callback=&q=test
This only seems to happen on HTTP(S) pages. When using a data: URI the JSON Viewer works as expected. ex: data:application/json,{"test":"data"}
NoScript: 2.6.9.39rc1
Firefox: 44.0a2 (2015-11-13) 64-bit
OS: Windows 10 64-bit
Re: NS breaks JSON Viewer in Firefox Developer Edition
Posted: Sat Nov 14, 2015 12:38 pm
by therube
Any change if you disable e10?
Re: NS breaks JSON Viewer in Firefox Developer Edition
Posted: Sat Nov 14, 2015 7:00 pm
by Toad King
therube wrote:Any change if you disable e10?
Disabling e10 does not fix it.
Re: NS breaks JSON Viewer in Firefox Developer Edition
Posted: Mon Jan 04, 2016 11:05 am
by jamonation
I'm experiencing this issue on 45.0a2 (2015-12-25) developer edition with the latest development noscript, with and without e10s, using http or https URLs.
The network inspector Response pane shows this message:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
eyJyZXN1bHRzIjogW119
With the addon disabled, I can use the network inspector and I can see the parsed JSON data.
Re: NS breaks JSON Viewer in Firefox Developer Edition
Posted: Thu Jan 21, 2016 1:44 pm
by mosquete
jamonation wrote:I'm experiencing this issue on 45.0a2 (2015-12-25) developer edition with the latest development noscript, with and without e10s, using http or https URLs.
With the addon disabled, I can use the network inspector and I can see the parsed JSON data.
Same thing here. Using firefox-45.0a2.pt-BR.linux-x86_64 on Ubuntu 14.04.3 LTS. Noscript version is 2.9.0.2.
When I visit a URL like "
https://ac.duckduckgo.com/ac/?callback=&q=test", I get a blank page. However on developer console the only error I get is "TypeError: React is undefined".
Re: NS breaks JSON Viewer in Firefox Developer Edition
Posted: Tue Mar 22, 2016 11:18 pm
by Toad King
I noticed something else about this bug: If you allow scripts globally, even data: URLs have broken JSON viewers when they normally work.