I'm using <noscript>
to show, in some cases, alternate content and, in other cases, alternate pages when JavaScript is disabled.
<noscript><meta http-equiv="refresh" content="1;url=index-alt.php"></noscript>
I'm using the Firefox plugin to enable/disable JavaScript for testing, but the effect is the same when using the Edit > Preferences option in Linux FF.
Basically, when JS is re-enabled, the alternate page (eg, index-alt.php
) remains, and I'm stuck on that page. I guess I really didn't consider this all that much after I implemented it and that was a mistake.
Is there a enable/disable JavaScript event I can bind to refresh my page to the default?