[英]How to enable activex controls in ie using javascript
Is it there any way to enable activex controls of internet explorer through javascript ,I searched internet cant find any trusted resources , is it possible to enable activex controls through javascript 有没有办法通过javascript启用Internet Explorer的Activex控件,我搜索了互联网找不到任何受信任的资源,是否有可能通过javascript启用Activex控件
The only source which i got can be found here 我得到的唯一来源可以在这里找到
Thanks In advance 提前致谢
Enabling ActiveX through javascript is not possible. 无法通过javascript启用ActiveX。 This is a browser level setting. 这是浏览器级别的设置。
I don't think there is a way to activate them via JavaScipt or anything like that. 我认为没有办法通过JavaScipt或类似方法激活它们。 I think it used to be a security measure, but I'm not sure. 我认为这曾经是一种安全措施,但我不确定。
If you look at MSDN however there is a solution: http://msdn.microsoft.com/en-us/library/ms537508(v=vs.85).aspx If you dynamicaly add controls through JavaScript after the DOM is loaded they get activated right away. 如果您查看MSDN,则有解决方案: http : //msdn.microsoft.com/zh-cn/library/ms537508(v=vs.85).aspx如果在加载DOM后通过JavaScript动态添加控件,则它们立即激活。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.