萬盛學電腦網

您现在的位置: 萬盛學電腦網 >> 電腦基礎知識 >  >> 應用技巧

IE「檢視原始碼」選單被禁用:登錄修復與 .reg 匯入法

右鍵/檢視選單「原始檔」變灰不可用?登錄修復全步驟

惡意網頁在兩處登錄建立 Restrictions 子鍵,設定 NoViewSource 與 NoBrowserContextMenu 為 1,導致「檢視原始碼」與右鍵選單失效。

手動修復:將下列四個鍵值改為 0:

  • HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoViewSource
  • HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoBrowserContextMenu
  • HKEY_USERS\.DEFAULT\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoViewSource
  • HKEY_USERS\.DEFAULT\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoBrowserContextMenu

一鍵 .reg 匯入(建議):存為 unlock.reg:

REGEDIT4
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions]
"NoViewSource"=dword:00000000
"NoBrowserContextMenu"=dword:00000000
[HKEY_USERS\.DEFAULT\Software\Policies\Microsoft\Internet Explorer\Restrictions]
"NoViewSource"=dword:00000000
"NoBrowserContextMenu"=dword:00000000

關鍵細節:首行 REGEDIT4 必須大寫、後空一行、REGEDIT4 中「4」與「T」無空格。Win2000/XP 首行改為 Windows Registry Editor Version 5.00。

copyright © 萬盛學電腦網 all rights reserved