编写ActiveX控件脚本时发出警告。 [英] Warning when scripting an ActiveX control.

查看:93
本文介绍了编写ActiveX控件脚本时发出警告。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个示例HTML代码:


< html>


< head>

< script type =" text / javascript">

var WinHttpReq = new ActiveXObject(" WinHttp.WinHttpRequest.5.1");

< / script> ;

< / head>


< body>

< / body>

< / html>


正如你所看到的,除了实例化一个ActiveX

控件之外什么都不做。


将我的桌面上的页面加载到IE6会产生此警告:


此页面上的ActiveX控件可能不安全

与页面的其他部分进行交互。你是否想要允许这种互动?


我想关掉这个警告,因为


*它不是一个随机的ActiveX控件,它是一个标准的MS组件

*它没有从互联网安装。它正在从本地机器上装载并运行




但是从我的阅读中我可能无法做到这一点。有谁知道

我可以让IE6知道实例化这个对象是安全的吗?


谢谢

I have this sample HTML code:

<html>

<head>
<script type="text/javascript">
var WinHttpReq = new ActiveXObject("WinHttp.WinHttpRequest.5.1");
</script>
</head>

<body>
</body>

</html>

As you can see it really does nothing but instantiate an ActiveX
control.

Loading the page off my desktop into IE6 results in this warning:

"An ActiveX control on this page might be unsafe
to interact with other parts of the page. Do you
want to allow this interaction?"

I''d like to turn this warning off since

* It''s not a random ActiveX control it''s a standard MS component
* It''s not being installed from the internet. It''s being loaded and run
from the local machine.

but from my reading I may not be able to do that. Does anyone know how
I can let IE6 know that it''s safe to instantiate this object?

Thanks

推荐答案

您好

我遇到了同样的问题。我已经在我的电脑上使用了所有东西,

活跃的x,java这个和那个,我仍然得到那个该死的

警告并且它不会加载。 *叹气*我会同样感激如果

有人可以告诉我如何摩擦我的电脑肚子恰到好处

工作。


我甚至已经尽可能地将所有内容放在最低安全性的

设置中,并关闭所有来自Microsoft的AntiSpyware垃圾

(仅限于案例,因为它的Beta 1)但无济于事它仍然给了我

一点烦人的错误。


所以我只是把所有东西都放回到完全安全从那以后。


*抱怨混蛋​​

Hi
I am having the same issue. I have enabeled EVERYTHING on my computer,
active x, java this that and the other, and I still get that damn
warning and it won''t load. *sigh* I would be equally grateful if
someone can tell me how to rub my computer belly just right to make it
work.

I''ve even went as far as to put everything on the lowest security
settings possible and shut off ALL the AntiSpyware crap from Microsoft
(just in case , since its Beta 1) but to no avail it still gave me that
little annoying error.

So I just put everything back up to full security since then.

*grumbles bastards*


在我的情况下,如果我点击是关于警告ActiveX控件在

事实负载中的作用并且它的行为正确但我只是想避免每次询问



文章< 11 ********************* @ g43g2000cwa.googlegroups。 com>,
je*****@comcast.net 说...
In my case, if I click "Yes" on the warning the ActiveX control does in
fact load and it behaves correctly but I''m just trying to avoid being
asked each time.
In article <11*********************@g43g2000cwa.googlegroups. com>,
je*****@comcast.net says...

我遇到了同样的问题。我已经在我的计算机上启用了一切,
活跃的x,java这个和那个,我仍然得到那该死的
警告,它不会加载。 *叹气*我会同样感激如果有人可以告诉我如何摩擦我的电脑肚子以使其工作。

我甚至走得很远至于将所有内容置于最低安全性设置可能并关闭所有来自Microsoft的AntiSpyware垃圾
(以防万一,自其Beta 1以来)但无济于事它仍然给了我那个
因此我只是把所有东西都恢复到完全安全状态。

*抱怨混蛋​​
Hi
I am having the same issue. I have enabeled EVERYTHING on my computer,
active x, java this that and the other, and I still get that damn
warning and it won''t load. *sigh* I would be equally grateful if
someone can tell me how to rub my computer belly just right to make it
work.

I''ve even went as far as to put everything on the lowest security
settings possible and shut off ALL the AntiSpyware crap from Microsoft
(just in case , since its Beta 1) but to no avail it still gave me that
little annoying error.

So I just put everything back up to full security since then.

*grumbles bastards*



戴夫,


您是否尝试过(在IE上)工具>互联网选项>安全>

自定义级别,然后将Active X Controls&

插件下的所有内容设置为已启用 ?

Dave,

Have you tried going to (on IE) Tools > Internet Options > Security >
Custom Levels and then setting everything under Active X Controls &
plug-ins to be "Enabled" ?


这篇关于编写ActiveX控件脚本时发出警告。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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