关闭JS的问题? [英] Problems with JS turned off?

查看:47
本文介绍了关闭JS的问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个网站,可以使用js进行一些控制,但是我很担心我可能会遇到哪些问题我可能与潜在用户有什么问题

他们的js关掉。有没有人有这个

的东西有什么严重的问题?我知道这些潜在用户中有一些是公司的b / b
/ b我们想知道是否有人遇到过这个问题。

I''m working on a web site that could use some control using js but am
concerned about what problems I may have with potential users having
their js turned off. Has anyone had any serious problems with this
sort of thing? I know some of these potential users are with big
companies and am wondering if anyone had real problems with that.

推荐答案

drhowarddrfine写道:
drhowarddrfine wrote:
我正在开发一个网站,可以使用js进行一些控制,但是我担心我可能会遇到哪些问题<他们的js关掉了。有没有人对这个事情有任何严重的问题?我知道这些潜在用户中有一些是大公司,我想知道是否有人遇到过这个问题。
I''m working on a web site that could use some control using js but am
concerned about what problems I may have with potential users having
their js turned off. Has anyone had any serious problems with this
sort of thing? I know some of these potential users are with big
companies and am wondering if anyone had real problems with that.




最坏的情况,禁用Javascript的用户无法使用您的网站。

但是,这是一个可以通过使您的

网站降级而得到补偿的问题。优雅。这意味着更多的工作,

开发人员,但它为更广泛的
用户提供了预期的体验,包括那些浏览器不支持Javascript的用户,

或已将其禁用。


您的网站在旧版本的

浏览器或那些浏览器上可用的工作量禁用Javascript真的取决于您的目标受众。
目标受众。最理想的是,您的网站将在最广泛的浏览器和功能范围内工作。但是,为了开发时间的利益,您可能希望确定网站受众的百分比(比如说,95%)

,这可以确定通过关注

服务器日志。



Worst case, a user with Javascript disabled is unable to use your site.
However, this is a problem that can be compensated for, by making your
web site "degrade" gracefully. This means more work for you, the
developer, but it provides the intended experience for a wider range of
users, including those whose browser either doesn''t support Javascript,
or has it disabled.

How much work you spend making your website usable on older versions of
browsers or those with Javascript disabled really depends on your
target audience. Optimally, your site will work on the broadest
possible range of browsers and capabilities. However, in the interests
of development time, you may want to target a percentage (say, 95%) of
the site''s audience, which can be determined by keeping an eye on
server logs.


" Jc" <去**** @ weinrichs.com>写道:
"Jc" <go****@weinrichs.com> writes:
然而,为了开发时间的利益,你可能想要确定一个百分比(比方说,95%)的网站的受众,这可以通过密切关注服务器日志来确定。
However, in the interests of development time, you may want to
target a percentage (say, 95%) of the site''s audience, which can be
determined by keeping an eye on server logs.




这种方法的唯一问题是服务器日志往往是
自我实现。如果你创建了一个不能使用Javascript

禁用的网站,你的服务器日志会告诉你只有启用了
Javascript的人才能使用你的网站。


让页面优雅地降级并不像听起来那么难,

如果从一开始就想到它。

/ L''纯HTML可100%访问。你所做的只是减损了'

-

Lasse Reichstein Nielsen - lr * @ hotpop.com

DHTML死亡颜色:< URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>

''信仰没有判断只会降低精神神圣。''



The only problem with this approach is that server logs tends to be
self fulfilling. If you make a site which doesn''t work with Javascript
disabled, your server logs will tell you that only people with
Javascript enabled use your site.

Making a page degrade gracefully isn''t as hard as you make it sound,
if one thinks of it from the start.

/L ''Pure HTML is 100% accessible. All you an do is detract from that''
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
''Faith without judgement merely degrades the spirit divine.''


>来自:Lasse Reichstein Nielsen< lr*@hotpop.com>
> From: Lasse Reichstein Nielsen <lr*@hotpop.com>
让页面优雅地降级并不像你说的那么难,
如果你从中想到它开始。
/ L''纯HTML是100%可访问的。所有你能做的就是减损那个''
Making a page degrade gracefully isn''t as hard as you make it sound,
if one thinks of it from the start.
/L ''Pure HTML is 100% accessible. All you can do is detract from that''




我非常赞同你100%同意你。例如,几年前

雅虎将其基于Web的服务(邮件和俱乐部 - >组)修改为

,用户无法加入新组在

GIF或JPG图片中说出什么字。由于我从家里访问只是通过VT100(文本

)拨号进入Unix shell帐户,然后从那里运行lynx(文本模式

浏览器)进入Web,我看不到任何图像,我不能在家里加入任何新组织。所以这意味着每当我想要
加入一个新组时,我需要去公共图书馆,报名

一小时的电脑那个小时等待长达一个小时的时间来开始,然后赶紧在那个小时里我想做的一切。然后在家里我可以在家里闲聊我可以在集团中浏览消息和

发布回复,除非对该小组的邀请已过期

我可以去图书馆,然后我的旅行浪费了,我不得不要求b $ b请求新的邀请,希望我能再次到图书馆
$新邀请到期前b $ b。但至少有一次我进入了一个

组,我可以在家里使用大部分基于文本的服务。并且他们的

邮件服务不允许回复没有JavaScript的邮件,所以

如果我想回复我需要复制邮件的文本和

从:地址等到本地编辑,在本地编写我的回复,然后

转到Yahoo!中的Compose(新消息)功能邮寄并粘贴

地址和主题以及我的回复。它没有正确地将我的

响应与旧的消息ID相关联,但至少它基本上有效。


然后大约一年前雅虎改变了他们的邮件服务,所以它几乎没有JavaScript,完全无法使用。我可以登录并查看

的列表每个文件夹中有多少消息是新的,我可以转到我的InBox或

其他文件夹并查看所有消息,但是没有办法看到哪个

的文件夹中的消息是新的,哪些是旧的所以没有

合理的方式来访问所有垃圾邮件,所以他们不再在文件夹摘要页面中显示新的

消息,并且没有办法抱怨垃圾邮件,因为垃圾邮件按钮现在是JavaScript,并且没有

方式发送外发电子邮件(撰写新邮件或回复旧邮件)

,因为这需要JavaScript,而且没有办法将垃圾邮件

邮件移至另一个文件夹或删除它们以将其从我的收件箱中取出

,因为这两个功能都需要JavaScript,并且无法移动我的<来自InBox的合法消息让他们远离垃圾邮件,并且几乎所有其他Yahoo!邮件功能同样无法从

home中使用,因为它们需要JavaScript。我非常生气地对雅虎的决定要求几乎所有*他们的Yahoo!邮件

功能,使服务对我来说几乎无用。很好,

他们将邮箱配额从6 + 1 MB增加到100 MB,然后

再次将其增加到gigibyte或更多,但这样做如果整个服务无法在家中使用,几乎没有

好​​。


如果你想知道为什么我正在浏览JavaScript新闻组如果我有

无法访问javascript :去年秋天,我的一位导师在De

Anza College给了我他的旧笔记本电脑,上面有Java它,以及

它对当时教授的Java类非常有用,

以及我现在正在使用的新J2EE类,而就在昨天我才意识到,由于笔记本电脑配备了支持JavaScript的NetScape,因此即使我无法在线访问JavaScript,我也会*有*

使用

file://localhost/directory.../filename.html在本地访问JavaScript,所以我现在*可以*开发Web

页面使用在本地使用JavaScript,然后将它们上传到

网并安装它们并希望它们仍适用于远程用户,所以

昨天我通过在线教程自学了JavaScript并且

创建了我的第一个有趣的JavaScript WebPage并将其上传:
http://members.tripod.com/MaasInfo/New/2005.6.13a.html

所以今天我上线了(当然是VT100文本模式) )寻找我昨天在浏览这个

新闻组时所见的JavaScript常见问题解答,以获取JS编程技巧,并发现你的文章我是

希望在继续寻找常见问题之前回复(上图)。



I agree with you 100% with great emphasis. For example, a few years ago
Yahoo modified their Web-based services (mail and clubs->groups) to
where users couldn''t join new groups without saying what word is in a
GIF or JPG image. Since my access from home is only via VT100 (text
only) dialup into Unix shell account, then running lynx (text-mode
browser) from there into the Web, I couldn''t see any images, I couldn''t
join any new groups from home. So that meant that whenever I wanted to
join a new group I needed to make a trip to the public library, sign up
for an hour of "computer" time, wait up to an hour for that hour to
begin, then rush everything I wanted to do during that hour. Then later
at home I could at my leisure I could browse messages in the Group and
post responses, except if the invitation to the group expired by the
time I could get to the library then my trip was wasted and I''d have to
ask for a new invitation and hope I could get to the library again
before the new invitation expired. But at least once I got into a
group, I could use most of its text-based services from home. And their
Mail service didn''t allow replying to messages without JavaScript, so
if I wanted to reply I needed to copy the text of the message and the
From: address etc. to a local edit, compose my response locally, then
go to the Compose (new message) feature in Yahoo! Mail and paste in the
address and Subject and my response. It didn''t properly link my
response with old message-ID, but at least it basically worked.

Then about a year ago Yahoo changed their Mail service so it''s almost
totally unusable without JavaScript. I can log in and see a listing of
how many messages are new in each folder, and I can go to my InBox or
other folder and see all the messages, but there''s no way to see which
of the messages in a folder are new and which are old so there''s no
reasonable way to visit all the spam so they no longer show as new
messages in the folder summary page, and there''s no way to complain
about spam because the SPAM button is now JavaScript, and there''s no
way to send outgoing e-mail (either Compose new or Reply to old)
because that requires JavaScript, and there''s no way to move spam
messages to another folder or delete them to get them out of my InBox
because both features require JavaScript, and there''s no way to move my
legitimate messages out of InBox to get them away from spam, and
virtually all the other Yahoo! Mail features ar likewise unusable from
home because they require JavaScript. I''m totally pissed at Yahoo''s
decision to require JavaScript for virtually *all* their Yahoo! Mail
features, making the service virtually useless to me. It''s nice that
they increased their mailbox quota from 6+1 MB to 100 MB, and then
increased it again to a gigibyte or more, but that does virtually no
good if the whole service is unusable from home.

If you''re wondering why I''m browsing a JavaScript newsgroup if I have
no access to javascript: Well last Fall one of my instructors at De
Anza College gave me his old laptop computer, which has Java on it, and
it''s been very useful for the Java class he was teaching at the time,
and for the new J2EE class I''m taking now, and just yesterday I
realized that since the laptop has NetScape which supports JavaScript,
then even though I don''t have access to JavaScript online, I *do* have
access to JavaScript locally using
file://localhost/directory.../filename.html, so I now *can* develop Web
pages that make use of JavaScript locally and then upload them to the
net and install them and hope they still work for remote users, so
yesterday I taught myself JavaScript from an online tutorial and
created my first interesting JavaScript WebPage and uploaded it:
http://members.tripod.com/MaasInfo/New/2005.6.13a.html
So today I came online (in VT100 text mode of course) to look for the
JavaScript FAQ that I saw listed yesterday when I was browsing this
newsgroup for JS-programming tips, and discovered your article which I
wished to respond to (above) before continuing to look for the FAQ.


这篇关于关闭JS的问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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