2017-06-13 105 views

回答

2
This worked for me ! 

When the HTML page is loaded from local machine (local file path), the ActiveX control can be blocked by the Local Machine Lockdown feature. You should be able to workaround it by adding a mark-of-web 
(<!-- saved from url=(0014)about:internet -->) at the beginning of your HTML page. 
+0

谢谢你这为我工作! – jack

3

您可以从注册表项中实现相同的功能。首先在路径中创建注册表项iexplore.exe(双字) HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN

如果将该值设置为1,则允许“允许活动内容在我的计算机上的文件中运行”,将取消选中。

如果将该值设置为0,则将检查“允许活动内容在我的计算机上的文件中运行”。

相关问题