Load an HTML page depending on the browser typeTag(s): Varia

<SCRIPT>
if (navigator.appName == "Microsoft Internet Explorer")
  document.write('<META HTTP-EQUIV="REFRESH" CONTENT="1;URL=msie.html">');
else
  document.write('<META HTTP-EQUIV="REFRESH" CONTENT="1;URL=netscape.html">');
</SCRIPT>
The browser version can be obtain with
browserversion = parseint(navigator.appversion);



If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2012
[ home ]