Drupal JS add noscript after every  tag I'm looking for a way to add the noscript tag after every  tag. Even the file tags. I cannot have alternatives as the client I'm doing this for has made this mandatory for 508 purposes. I believe the software they are using is failing the 508 scan because of this.

Example below.

&lt;script type="text/javascript" src="http://local.dev/misc/jquery.once.js?v=1.2"&gt;&lt;/script&gt;
&lt;noscript&gt;Your browser does not support Javascript&lt;/noscript&gt;
&lt;script type="text/javascript" src="http://local.dev/misc/drupal.js?neolt5"&gt;&lt;/script&gt;
&lt;noscript&gt;Your browser does not support Javascript&lt;/noscript&gt;
Use the html.tpl.php of your theme to add the noscript tag using the $scripts array.

$scripts = str_replace("\n", "\n&lt;noscript&gt;Your browser does not support Javascript&lt;/noscript&gt;\n", $scripts);


Note : html.tpl.php will apply this for all pages of your theme.if you want to do it for specific content type pages or specific pages then use the specific template.See Drupal 7 template suggestions for more information.