<script> document.write("You are running" + navigator.appName); document.write(" and its version is " + navigator.appVersion); </script>
读取浏览器的名称和版本,通常称为 浏览器嗅探(browser sniffing)。
(from:深入浅出JavaScript 2007)
2022-08-22 10:58:45
<script> document.write("You are running" + navigator.appName); document.write(" and its version is " + navigator.appVersion); </script>
读取浏览器的名称和版本,通常称为 浏览器嗅探(browser sniffing)。
(from:深入浅出JavaScript 2007)