Is there any particular reason that such a script can't be enqueued like most other scripts, that would warrant such an exception?<div><br></div><div>Chip<br><br><div class="gmail_quote">On Tue, Oct 16, 2012 at 12:02 PM, WPForever Team <span dir="ltr"><<a href="mailto:hi@wpforever.com" target="_blank">hi@wpforever.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
This is my first post here, I hope I'm doing it correctly.<br>
<br>
I want to add a "no-js" class to <html>, and then remove it
immediately (and add "js") if the browser supports JavaScript. For this,
I want to add the following as the first thing after <head><br>
<br>
<span style="font-family:monospace">
<script>(function(h){h.className = h.className.replace('no-js',
'js')})(document.documentElement)</script></span><br>
<br>
>From what I could understand from the Theme Review page in the Codex,
this isn't allowed.<br>
<br>
Can this be an exception?<br>
</div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>