Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我使用“window.navigator.userAgent”或“$.browser”,那么这些要求我允许运行 ActiveX 控件但我的应用程序不应使用任何 ActiveX 控件。谁能帮我找到解决方案?
在本例中,“ActiveX 控件”是“JavaScript”的 Internet Explorer 代码。
不要使用 Internet Explorer 直接从文件系统加载网页。而是从 Web 服务器运行它们(可以在本地安装)。
您遇到了一项旨在保护您的文件免受恶意下载的 HTML 文档的安全功能。原则上,这是一个很好的功能,但它的消息传递很糟糕。