开发网站时可以忽略IE6吗?还有其他要避免的浏览器吗?
可能的重复:
我们应该不再支持 IE6 吗?
ripie6.com
我想知道我们可以支持哪些浏览器避免。许多网站已经停止支持 IE6。那么,作为开发者我们也可以开始避开一些网站吗?如果是,全部是什么? (哪些版本的浏览器)
即使我已经在这里问过这个问题: 从哪个浏览器开始? IE、Firefox、Chrome、Safari?,我没有得到答案,因为它与另一个问题结合在一起。
Possible Duplicate:
Should we support IE6 anymore?
ripie6.com
I would like to know which browsers we can avoid. Many sites have stopped support to IE6. So, as developers we can also start avoiding some sites? If yes, what are all? (which versions of what broswers)
Even though I have asked the question already here: which browser to start with? IE, Firefox, Chrome, Safari? , I dint get the answer since its combined with another question.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
支持您的用户使用的浏览器。
stackoverflow.com 在其支持的浏览器中可能不像其他网站那么严格,因为绝大多数用户技术娴熟,并且可能使用相当现代的浏览器。 amazon.com 可能需要支持更多浏览器,因为它将吸引更广泛的互联网用户。
谁使用您的网站?谁使用类似的网站?他们使用什么浏览器?这就是你决定支持哪些浏览器的方式——而不是基于互联网用户群体使用的浏览器,因为互联网用户群体可能不是你的受众(除非你是谷歌)。
Support the browsers that your users use.
stackoverflow.com can probably be less strict than other sites in the browsers it supports, since the vast majority of users are technically adept, and likely to be using a reasonably modern browser. amazon.com probably needs to support more browsers, since it will attract a broader spectrum of internet users.
Who uses your site? Who uses similar sites? What browsers are they using? That's how you decide what browsers to support - not based on what the population of internet users use, since the population of internet users probably isn't your audience (unless you're Google, that is).
您需要评估几件事:
不支持 IE6 会给您带来很多麻烦,并且许多网站开始避免它,以便可以自由地使用现代实现新功能工具。但在某些情况下,您根本负担不起。
You need to evaluate a few things:
Not supporting IE6 will save you a lot of headache, and many sites are starting to avoid it, to be free to implement new features using modern tools. But there are situations where you just can't afford this.
假设这是一个商业网站:
您的目标市场是什么?
您预计需要多长时间才能发布网站的工作版本?
如果按照目前的趋势发展下去,到那时IE6的市场份额会是多少?
这些用户会带来多少利润/价值?
支持这些额外用户需要花费多少费用?
除非成本远低于利润,否则就不用担心。否则,这可能是个好主意。
如果它不是一个营利性网站(例如爱好),那么您可能不应该打扰,除非您的目标市场中 IE6 市场份额非常大。
顺便说一下,请记住尽可能使用优雅降级,并使用功能检测而不是浏览器检测。
最后,避免阻止 IE6 用户,而只是显示一条警告,指出该网站未经其浏览器测试并建议更新(最后一条建议仅适用于您不打算支持 IE6 的情况)
Assuming it's a business site:
What's your target market?
How long do you expect until you release a working version of your website?
If current trends continue, what will be IE6's market share by then?
How much profit/value will those users bring?
How much will it cost to support those additional users?
Unless the costs are far below the profit, then don't bother. Otherwise, it might be a good idea.
If it's not a for-profit site(hobby, for instance), then you probably shouldn't bother, unless there's a really significant IE6 market share in your target market.
By the way, remember to use graceful degradation when possible and use feature detection instead of browser detection.
Finally, avoid blocking IE6 users and instead just display a warning saying the website is untested in their browser and suggesting an update(this last piece of advice only applies if you don't plan to support IE6)