scripts blocked in body trigger <noscript>

Ask for help about NoScript, no registration needed to post
general-nonsense

scripts blocked in body trigger <noscript>

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

Re: scripts blocked in body trigger <noscript>

Post by barbaz »

NoScript Options > Advanced > Trusted > Show the <NOSCRIPT> element which follows a blocked <SCRIPT>
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply