Internet Explorer阻止JavaScript [英] Internet Explorer Blocks JavaScript

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

问题描述




我经常喜欢在我的网页中加入一些JavaScript编码来使它们更有趣。
更有趣。不幸的是,即使这个编码就像

一样简单,检查显示宽度是多少像素,这样可以调整

页面上的图片以更好地适应显示,Internet Explorer检测到编码并阻止它。当然,用户可以点击网页上方显示的消息

以允许活动组件。但接收我页面的很多人都是老年人和/或不是电脑,而且他们觉得很舒服。他们认为

JavaScript编码可能是某些病毒或其他什么。


我已使用JavaScript好几年了,可能会使用过时的

编码。这会导致问题吗?有没有办法在网页中使用

JavaScript而不会弹出安全问题?


我使用的编码示例在页面中

http://members.shaw .ca / burdick / checkup / checkup.htm


谢谢。


道格

解决方案

Doug van Vianen写道:



我经常想在我的网址中包含一些JavaScript编码网页让他们更有趣。不幸的是,即使这个编码就像检查显示宽度的像素一样简单,以便可以调整页面上的图片以更好地适应显示,Internet Explorer检测到编码并阻止它。当然,用户可以点击网页上方显示的消息
以允许活动组件。但是接收我页面的很多人都是老年人和/或不是电脑,而且非常精致,以至于觉得这样做很舒服。他们认为JavaScript编码可能是某些病毒或其他什么。

我已经使用JavaScript好几年了,可能正在使用过时的编码。这会导致问题吗?有没有办法在网页中使用
JavaScript而不会出现安全问题?

我使用的编码示例在页面中
http://members.shaw.ca/burdick/checkup/checkup .htm

谢谢。




问题不是Javascript - 它在你的浏览器设置中。它

对我来说很好。

-

适合所有可用和制作的最复杂的解释
事实最有可能被阴谋理论家所相信


Tony于2006年6月8日下午4:52发表以下声明:

Doug van Vianen写道:




< snip>

编码的一个例子我使用在页面

http: //members.shaw.ca/burdick/checkup/checkup.htm

谢谢。



这个问题不是Javascript - 它在您的浏览器设置中。它对我来说很好。




它甚至都不那么难。当你从服务器测试它而不是在本地测试时,它会产生很大的不同。


-

Randy

comp.lang.javascript常见问题 - http://jibbering.com/faq &新闻组每周

Javascript最佳实践 - http://www.JavascriptToolbox .com / bestpractices /


Randy Webb写道:

Tony在6/8/2006 4:52 PM发表以下内容:


这个问题不是Javascript - 它在你的浏览器设置中。它对我来说很好。



它甚至都不那么困难。当你从服务器测试它而不是在本地测试它时会产生很大的不同。




怎么样?我刚下载了这个页面&运行它 - 似乎工作原理相同。

也许我错过了什么,但是如何从服务器运行与javascript的工作方式有什么区别?

-

适用于所有可用和已经化妆的最令人费解的解释是b / b
事实最有可能被阴谋理论家所相信 />


Hi,

I often like to include some JavaScript coding in my web pages to make them
more interesting. Unfortunately, even when this coding is as simple as a
check to see what the display width is in pixels so that pictures on the
page can be adjusted to better fit the display, Internet Explorer detects
the coding and blocks it. Of course the user can click on the message
displayed above the web page to allow "the active component" but many of the
people who receive my pages are seniors and/or are not computer
sophistocated enough to feel comfortable doing this. They think that the
JavaScript coding might be some virus or whatever.

I have been using JavaScript for several years and may be using outdated
coding. Could this be causing the problem? Is there some way to use
JavaScript within a web page without having the security problem pop up?

An example of the coding I use is in the page at

http://members.shaw.ca/burdick/checkup/checkup.htm

Thank you.

Doug

解决方案

Doug van Vianen wrote:

Hi,

I often like to include some JavaScript coding in my web pages to make them
more interesting. Unfortunately, even when this coding is as simple as a
check to see what the display width is in pixels so that pictures on the
page can be adjusted to better fit the display, Internet Explorer detects
the coding and blocks it. Of course the user can click on the message
displayed above the web page to allow "the active component" but many of the
people who receive my pages are seniors and/or are not computer
sophistocated enough to feel comfortable doing this. They think that the
JavaScript coding might be some virus or whatever.

I have been using JavaScript for several years and may be using outdated
coding. Could this be causing the problem? Is there some way to use
JavaScript within a web page without having the security problem pop up?

An example of the coding I use is in the page at

http://members.shaw.ca/burdick/checkup/checkup.htm

Thank you.



The problem isn''t the Javascript - it''s in your browser settings. It
works fine for me.
--
"The most convoluted explanation that fits all the available and made-up
facts is the most likely to be believed by conspiracy theorists"


Tony said the following on 6/8/2006 4:52 PM:

Doug van Vianen wrote:

Hi,

<snip>

An example of the coding I use is in the page at

http://members.shaw.ca/burdick/checkup/checkup.htm

Thank you.



The problem isn''t the Javascript - it''s in your browser settings. It
works fine for me.



It''s not even that difficult. It makes a huge difference when you test
it from a server as opposed to testing it locally.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/


Randy Webb wrote:

Tony said the following on 6/8/2006 4:52 PM:


The problem isn''t the Javascript - it''s in your browser settings. It
works fine for me.



It''s not even that difficult. It makes a huge difference when you test
it from a server as opposed to testing it locally.



How so? I just downloaded the page & ran it - seemed to work the same.
Perhaps I missed something, but how would running from a server make any
difference with how javascript works?
--
"The most convoluted explanation that fits all the available and made-up
facts is the most likely to be believed by conspiracy theorists"


这篇关于Internet Explorer阻止JavaScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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