网站真的需要迎合没有启用Javascript的浏览器吗? [英] Do web sites really need to cater for browsers that don't have Javascript enabled?

查看:117
本文介绍了网站真的需要迎合没有启用Javascript的浏览器吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么许多专业网站开发人员总是坚持开发适合已禁用Javascript的浏览器的网站?

Why do many professional web developers always insist on developing sites that accommodate for browsers that have Javascript disabled?

除了技术负责人和开发人员之外,大多数普通用户都不愿意甚至不知道它是什么。

Besides tech heads and developers, most 'normal' users don't even know what it is.

推荐答案


谁使用的浏览器早于Firefox 2或IE6?

Who uses browsers older than Firefox 2 or IE6?

错误的问题。这不是浏览器的时代问题。有很多新的浏览器不支持javascript或不支持它,它们可能与最新的safari或firefox一样重要。

Wrong question. It's not the age of the browser that's the problem. There are plenty of new browsers out there that don't support javascript or don't support it well, and they can be just as important as the latest safari or firefox.

其他人提到了智能手机或lynx,但我书中的主要内容是 Googlebot 。这是一个与其他浏览器一样的浏览器,它不会运行你的大多数javascript。此外,即使你有Firefox,你可能会使用像NoScript这样的插件。这与运行禁用javascript不同,但是如果你做错了,你可以真正搞砸那些用户(即,在会话开始或创建帐户时检测一次javascript状态,然后不再提供javascript在al的页面,即使他们想为你启用它)。最后,如果您为美国政府做任何工作,法律要求您支持某些可访问性标准,包括使用禁用的JavaScript。

Others have mentioned smartphones or lynx, but the main one in my book is Googlebot. That's a browser just like any other, and it won't run most of your javascript. Also, even if you have firefox you might use a plugin like NoScript. That's not the same thing as running with javascript disabled, but if you do things wrong you can really mess up for those users (ie, detect javascript state once at the start of a session or creation of an account, and then no longer serve javascript pages at al, even if they wanted to enable it for you). Finally, if you do any work for the US Goverment you are required by law to support certain accessibility standards that include working with javascript disabled.

这篇关于网站真的需要迎合没有启用Javascript的浏览器吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆