Re: Javascript detection , working version
| From: | Ruben Rubio | Date: | Fri, 12 Jan 2007 07:24:23 +0000 |
| Subject: | Re: Javascript detection , working version | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-246974@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
A good way to detect if javascript exists is (cross-browser,
cross-platform):
You try to load javascript_exists.htm.
- ------------------------------------------------------------
javascript_exists.htm:
<noscript>
<meta http-equiv="refresh" content="0; URL=javascript_not_actived.htm">
</noscript>
<html>
...
Javascript is actived!!
</html>
- ------------------------------------------------------------
javascript_not_actived.htm:
<html>
...
Javascript is *NOT* actived!!
</html>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFpzemIo1XmbAXRboRAirXAKCo8LlqI0gv/7+Kfs7L6EHJGRdN3QCgo530
1YwBznS0B8p3KSFVCVcyyfc=
=DjZ8
-----END PGP SIGNATURE-----