ZhipSoft.com
              冬去春來
                  鄭重聲明:本Blog純屬個人學習、工作需要,記錄相關資料。請不要發表任何有人身攻擊的言論,謝謝!!www.ZhipSoft.com
          posts - 94,comments - 149,trackbacks - 0
          <2009年7月>
          2829301234
          567891011
          12131415161718
          19202122232425
          2627282930311
          2345678

          鄭重聲明:本Blog純屬個人學習、工作需要,記錄相關資料。請不要發表任何有人身攻擊的言論,謝謝!!
          www.ZhipSoft.com

          常用鏈接

          留言簿(5)

          隨筆分類(82)

          隨筆檔案(94)

          博客鏈接

          站點收藏

          搜索

          •  

          積分與排名

          • 積分 - 344363
          • 排名 - 160

          最新評論

          閱讀排行榜

          評論排行榜

          信任站點的注冊表項

          HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\Range[*]

          ActiveX的注冊表項

          HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\[0-4]\[*]

          [0-4]

          值         設置
          ------------------------------
          0        我的電腦
          1        本地 Intranet 區域
          2        受信任的站點區域
          3        Internet 區域
          4        受限制的站點區域

          [*]

          1001     下載已簽名的 ActiveX 控件
          1004     下載未簽名的 ActiveX 控件
          1200     運行 ActiveX 控件和插件
          1201     對沒有標記為安全的 ActiveX 控件進行初始化和腳本運行
          1405     對標記為可安全執行腳本的 ActiveX 控件執行腳本
          2201     ActiveX 控件自動提示 **

          彈出窗口阻止程序的注冊表項

          HKEY_CURRENT_USERHKCU\Software\Microsoft\Internet Explorer\New Windows\PopupMgr

          具體腳本如下:

          <SCRIPT LANGUAGE="JavaScript">
          <!--
          var WshShell=new ActiveXObject("WScript.Shell");
          //添加信任站點ip
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Ranges\\Range100\\","");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Ranges\\Range100\\http","2","REG_DWORD");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Ranges\\Range100\\:Range","192.168.1.5");
          //修改IE ActiveX安全設置 1本地 Intranet 區域2受信任的站點區域3Internet 區域
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\1\\1001","0","REG_DWORD");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\1\\1004","0","REG_DWORD");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\1\\1200","0","REG_DWORD");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\1\\1201","0","REG_DWORD");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\1\\1405","0","REG_DWORD");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\1\\2201","0","REG_DWORD");

          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\2\\1001","0","REG_DWORD");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\2\\1004","0","REG_DWORD");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\2\\1200","0","REG_DWORD");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\2\\1201","0","REG_DWORD");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\2\\1405","0","REG_DWORD");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\2\\2201","0","REG_DWORD");

          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\3\\1001","0","REG_DWORD");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\3\\1004","0","REG_DWORD");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\3\\1200","0","REG_DWORD");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\3\\1201","0","REG_DWORD");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\3\\1405","0","REG_DWORD");
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\3\\2201","0","REG_DWORD");
          //禁用Winxp彈出窗口阻止程序
          WshShell.RegWrite("HKCU\\Software\\Microsoft\\Internet Explorer\\New Windows\\PopupMgr","no");
          //-->
          </SCRIPT>



                  本Blog純屬個人學習、工作需要,記錄相關資料。請不要發表任何有人身攻擊的言論,謝謝! www.zhipsoft.cn
          posted on 2009-07-05 02:38 ZhipSoft 閱讀(5638) 評論(0)  編輯  收藏 所屬分類: JavaScript
          主站蜘蛛池模板: 肥乡县| 红桥区| 阿克陶县| 调兵山市| 手机| 砚山县| 阳信县| 泰顺县| 措美县| 颍上县| 辽宁省| 南城县| 宜城市| 烟台市| 巴塘县| 长顺县| 丰顺县| 保康县| 龙海市| 浦江县| 顺义区| 白银市| 民勤县| 南昌市| 黄平县| 平利县| 邹平县| 康保县| 岑溪市| 姜堰市| 礼泉县| 漠河县| 弥渡县| 东宁县| 濉溪县| 临武县| 高邑县| 怀宁县| 郴州市| 方城县| 遵义市|