Page 1 of 1

scripts blocked in body trigger <noscript>

Posted: Sun Mar 15, 2015 2:52 am
by general-nonsense
In this HTML:

Code: Select all

<body>
  <script src=http://any.blocked.domain.com/foo.js></script>
  <noscript>
   <h1>Scripts disabled</h1>
  </noscript>
  <h1>Main content</h1>
The <noscript> tag is shown when scripts are allowed for the page's domain but the third-party script is blocked.

Re: scripts blocked in body trigger <noscript>

Posted: Sun Mar 15, 2015 3:30 am
by barbaz
NoScript Options > Advanced > Trusted > Show the <NOSCRIPT> element which follows a blocked <SCRIPT>