完全禁用IE中的JavaScript信息栏 [英] Disable Information Bar completely using JavaScript in IE

查看:62
本文介绍了完全禁用IE中的JavaScript信息栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的要求如下:

1)我在JavaScript中有一些代码
2)每当它自动运行时,就会出现黄色的弹出信息栏
3)现在我要完全禁用信息栏
4)如果我运行HTML文件,它将自动允许ActiveX控件弹出并加载所有事件

帮助我:)
在此先感谢

Hi,

My requirements are as follows:

1) I have some code in JavaScript
2) When ever it runs automatically, the yellow coloured Pop-Up Information Bar appears
3) Now i want to completely disable the information bar
4) If i run the Html file it should automatically allow ActiveX controls pop-up and load all events

Help me on this :)
Thanks in advance

推荐答案

您尝试执行的操作将无法使用或被允许.

您试图做的是规避浏览器的安全限制.该页面和javascript有效地在IE进程中进行了沙箱处理,无法访问或覆盖此设置.

如果您正在处理一些需要将某些内容加载到最终用户浏览器上的公司内部网页,则可以使用AD更新页面主机服务器的受信任站点列表.

如果您查看其他需要您安装ActiveX的站点,则它们通常会在下载单击之前提供其操作的屏幕截图,因此用户知道他们必须遵循此操作才能正常工作.
What you are trying to do will not work or be allowed.

What you are trying to do is circumvent the security restrictions of the browser. The page and javascript is effectively sandboxed within the IE process and cannot get access to this settings or override it.

If you are working on some corporate internal web page that needs to load something onto the end users browsers, you could use AD to update the trusted sites list for the host server of the page.

If you look at what other sites do that require you to install an activex, they usually have screenshots of what to do before the download click, so the user know they must follow this for it to work.


这篇关于完全禁用IE中的JavaScript信息栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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