代码编辑器:
x
1
<script>
2
txt = "<p>浏览器代号: " + navigator.appCodeName + "</p>";
3
txt+= "<p>浏览器名称: " + navigator.appName + "</p>";
4
txt+= "<p>浏览器版本: " + navigator.appVersion + "</p>";
5
txt+= "<p>启用Cookies: " + navigator.cookieEnabled + "</p>";
6
txt+= "<p>硬件平台: " + navigator.platform + "</p>";
7
txt+= "<p>用户代理: " + navigator.userAgent + "</p>";
8
txt+= "<p>用户代理语言: " + navigator.systemLanguage + "</p>";
9
document.write(txt);
10
</script>
11