IE限制了网页运行脚本 [英] IE has restricted webpage from running scripts

查看:128
本文介绍了IE限制了网页运行脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在本地测试我的网站 www.troop152-beta.org [在Windows Internet Explorer 8.0中预览]服务器[也使用Internet Explorer 8.0]。

当在Expression Web中工作,并且我在本地预览页面时,我收到阻止的消息"为了帮助保护您的安全,Internet Explorer限制了网页运行脚本或Active X控件。但是,在发布到服务器并查看同一页面[index.htm作为示例]后,我没有收到阻止消息。

这在我的XP Pro和Vista Home机器上都会发生。两者都安装了最新的微软补丁。

它不会造成问题;这只是一个烦恼。有没有解决方法?

解决方案

添加"网络标记"页面的元标记,但您需要记住在发布之前删除它。

http://msdn.microsoft.com/en-us/library/ms537628(VS.85)的.aspx

I am testing my website www.troop152-beta.org both locally [Preview in Windows Internet Explorer 8.0] and on the server [also with Internet Explorer 8.0]. 

When working in Expression Web, and I preview a page locally,  I receive the Blocked Message "To help protect your security Internet Explorer has restricted webpage from running scripts or Active X controls.  However, after publishing to the server and view the same page [index.htm as an example], I do not receive the Blocked Message.

This occurs on both my XP Pro and Vista Home machines.  Both have the latest patches from Microsoft installed.

It does not cause a problem; it's just an annoyance.  Is there a way around this?

解决方案

Add a "mark of the web" meta tag to the pages, but you will need to remember to remove it before you publish.

http://msdn.microsoft.com/en-us/library/ms537628(VS.85).aspx


这篇关于IE限制了网页运行脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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