Page 1 of 1

noscript-show class on <noscript> following a blocked script

Posted: Thu Apr 17, 2014 5:48 pm
by hap
Hi,

I just realized an (apparently intended) behavior with NoScript: a <noscript> tag following a blocked script is shown by NoScript even if the other scripts of the same domain are allowed.

It is problematic on some websites (like codepen.io), where a <noscript> tag is following a blocked external script that is not needed to use the page (like Google Analytics script).

I cannot say this is a bug with NoScript since the "What <noscript> to show if scripts are partially loaded ?" question is tough, but I can't either blame a website to put a <noscript> tag after GA script. I can't even say "It's bad to have a blocking <noscript>" since if the website isn't supposed to work _at all_ if there is actually no JS support, this can be understandable.

So am I supposed to fix this with an userscript for example, or simply by removing manually the "noscript-show" class with devtools ? Do you think of a better solution ?

Re: noscript-show class on <noscript> following a blocked sc

Posted: Thu Apr 17, 2014 6:38 pm
by Giorgio Maone
Does unchecking NoScript Options|Advanced|Trusted|Show the <NOSCRIPT> element which follows a blocked <SCRIPT> suffice?

Re: noscript-show class on <noscript> following a blocked sc

Posted: Thu Apr 17, 2014 8:16 pm
by hap
Thanks! I didn't figured out this was configurable.