2017-06-13 114 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,則將檢查「允許活動內容在我的計算機上的文件中運行」。

相關問題