如何获取最大参数来确定浏览器问题?
我正在开发一个新网站,我需要开发一些东西来帮助用户管理技术浏览器问题。我需要检查许多参数 (8),我想知道是否可以在浏览器中检查其中一些参数,主要是通过 javascript。
以下是我需要查看的参数列表:
- SSL 是否已激活?
- MSXML 是否已激活? (对于ajax并根据我的注释基于浏览器安全级别)
- 使用什么更新版本的IE6? (如果用户有IE6,则至少需要IE6 SP2)
- 使用什么HTTP版本? (1.1为必填)
(其他4个(浏览器名称、浏览器版本、javascript和cookie)可以用javascript测试)
那么,哪些参数可以在浏览器中测试,如何测试?
如果我所说的参数之一没有用,请随意指出(以及为什么!)
I am working on a new website and I need to develop something to help user manage technical browsers issues. There are many parameters (8) I need to check and I am wondering if some of those could be checked in-browser, mainly through javascript.
Here's the list of parameters I need to look about :
- is SSL activated?
- is MSXML activated? (for ajax and based on browser security level according to the notes I have)
- what update version of IE6 is used? (if the user has IE6, he needs at least IE6 SP2)
- what HTTP version is used? (1.1 is required)
(The 4 others (browser name, browser version, javascript and cookies) can be tested with javascript)
So, which of those parameters can be tested in the browser, and how?
If one of the parameters I stated is useless, feel free to point it too (and why!)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我从来不知道客户端使用的 HTTP 版本是否有问题。
您对“SSL 已激活”的描述可能是服务器端检查,大多数 SSL 证书与 99.9% 以上的浏览器兼容,因此它是一个冗余指标。
对于使用 IE6 的用户来说,解决方案始终是升级您的浏览器。
我唯一要检查的是 IE6,甚至可能是 IE7,并有一个通知让他们知道升级浏览器。其他检查都是多余的,除非你正在开发一些非常利基的东西。使用 USER_AGENT 可以合理可靠地检测浏览器版本
I've never know the HTTP version used by client ever being an issue.
Your description of 'is SSL activated' is probably a server side check, most SSL certificates are compatible with 99.9%+ of browsers so it's a redundant metric.
The solution for the user being on IE6 is always upgrade your browser.
The only concern I would check for is IE6, maybe even IE7 and have a notification letting them know to upgrade their browser. The other checks are overkill unless you are developing something extremely niche. Browser version can be detected reasonablly reliably with USER_AGENT