- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
熟知的浏览器(Familiar browser)
Navigator is a separate object in JavaScript that provides information such as browsers and operating systems used by users and is provided in the form of Navigator object attributes.
html
body
script type= text/javascript
Var x = navigator;
Document.write (CodeName= + x.appCodeName);
(br / document.write);
Document.write (MinorVersion= + x.appMinorVersion);
(br / document.write);
Document.write (Name= + x.appName);
(br / document.write);
Document.write (Version= + x.appVersion);
(br / document.write);
Document.write (CookieEnabled= + x.cookieEnabled);
(br / document.write);
Document.write (CPUClass= + x.cpuClass);
(br / document.write);
Document.write (OnLine= + x.onLine);
(br / document.write);
Document.write (Platform= + x.platform);
(br / document.write);
Document.write (UA= + x.userAgent);
(br / document.write);
Document.write (BrowserLanguage= + x.browserLanguage);
(br / document.write);
Document.write (SystemLanguage= + x.systemLanguage);
(br / document.write);
Document.write (UserLanguage= + x.userLanguage);
/script
/body
/html
CodeName=Mozilla
MinorVersion=; SP3;
Name=Microsoft Internet Explorer
Version=4.0 (compatible; MSIE 6; Windows NT 5.1; SV1)
CookieEnabled=true
CPUClass=x86
OnLine=true
Platform=Win32
UA=Mozilla/4.0 (compatible; MSIE 6; Windows NT 5.1; SV1)
BrowserLanguage=zh-cn
SystemLanguage=zh-cn
UserLanguage=zh-cn
The userAgent property is a read-only string that declares the value of the user agent header used by the browser for the HTTP request.
In general, it is made up of the value of navigator.appCodeName, plus the value of slash and navigator.appVersion.
For example: Mozilla/4.0 (compatible; MSIE 6; Windows; NT 5.2;; SV1;.NET; CLR; 1.1.4322).
Note: user agent header: user-agent header.
Function, getBrowserName () {
Var appVer = navigator.userAgent;
If (appVer.indexOf (MSIE) 0) return IE;
Else if (appVer.indexOf (Firefox) 0) return Firefox;
Else if (appVer.indexOf (Chrome) 0) return Chrome;
Else if (appVer.
indexof
您可能关注的文档
- 眼底检查(The inspection).doc
- 眼镜店的体验营销战略(Optical store experience marketing strategy).doc
- 窑洞平菇代料栽培技术(Techniques for the cultivation of mushroom in the cave).doc
- 移动短信业务查询(Mobile SMS business query).doc
- 盐雾试验技术分析与探讨(Analysis and discussion of salt spray test technology).doc
- 移动公司的成本结构和弹性分析(The cost structure and elastic analysis of mobile company).doc
- 移动心机.普机.港行.水货...等鉴别(Mobile schematic. Press. Port. Water... Identification etc.).doc
- 移动心机与普通机的区别(The difference between a mobile machine and an ordinary one).doc
- 硬件调试方式(Hardware debugging mode).doc
- 硬盘常见故障诊断(Hard disk common fault diagnosis).doc
最近下载
- 一种甲醇柴油微乳化分散剂及其制备方法和应用.pdf VIP
- 高含水稳定柴油乳化液的制备工艺研究.docx VIP
- [PDF]IEC61850应用入门_何磊编著2012.06北京:中国电力出版社_P354 带索引书签目录高清版_13052952.pdf VIP
- 微乳化柴油制备工艺的研究.pdf VIP
- 道路破坏应急预案(3篇).docx VIP
- 个人年终述职报告怎么写1000字.docx VIP
- 超声技术赋能甲醇乳化柴油:制备工艺与性能深度剖析.docx VIP
- 微乳化柴油:制备工艺优化与燃烧性能的深度剖析.docx VIP
- Linux防火墙配置方案.docx VIP
- linux上命令基本操作文件剖析.pptx VIP
原创力文档


文档评论(0)