jQuery和ActiveX安全性的一个严重问题?
Has anyone not noticed that JQuery uses ActiveX controls?
有没有人没有注意到JQuery使用ActiveX控件?
When a user has limited their activex security they will get script prompt popups and a yellow bar accross the top of their browser window. -This setting is by default on Windows Servers. -Internet Cafe's dont support Active X. -Company internal workstations dont support this.
当用户限制其activex安全性时,他们将在浏览器窗口的顶部获得脚本提示弹出窗口和黄色条。 - Windows服务器上默认设置为此设置。 -Internet Cafe不支持Active X.-公司内部工作站不支持此功能。
Considering this I don't see how people can use JQuery in a commercial application.
考虑到这一点,我不知道人们如何在商业应用程序中使用JQuery。
Do you use JQuery in a commercial application? Does this concern you? Do you think I should be concerned with this?
你在商业应用程序中使用JQuery吗?这关系到你了吗?你觉得我应该关注这件事吗?
6 个解决方案
#1
Only spot where ActiveX
is mentioned in the jQuery code is for the ActiveXObject
which is used for XMLHttpRequests:
只有在jQuery代码中提到ActiveX的位置才是用于XMLHttpRequests的ActiveXObject:
// Create the request object; Microsoft failed to properly
// implement the XMLHttpRequest in IE7, so we use the ActiveXObject when it is available
var xhr = window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
There's an open issue here ... seems like jQuery doesn't fallback to use the native XMLHttpRequest on IE7 (this is probably what you're experiencing).
这里有一个开放的问题......似乎jQuery不会回退使用IE7上的原生XMLHttpRequest(这可能就是你所经历的)。
Also this might help: link
这也可能有所帮助:链接
更多相关文章
- Typeahead 0.10.2没有在Rails 4 / Bootstrap 3应用程序中显示建
- 在Rails应用程序中结合Scriptaculous和JQuery
- Web 应用程序学习笔记
- Wordpress网站上的亚马逊链接无法正确打开亚马逊应用程序
- 为什么我不用Javascript和Javascript HTML模板构建整个Web应用程
- 维护Java应用程序的多种形式的用户指南
- HTML5 的应用程序缓存和优势
- 如何在应用程序中嵌入图像并在HTML控件中使用它们?
- PHP - Content-type未指定假设应用程序/x-www-form-urlencode。