ソースを参照

cure the 360se tampered clsid

master
Bing Sun 8年前
コミット
206944eb4c
1個のファイルの変更9行の追加0行の削除
  1. +9
    -0
      hik.bat

+ 9
- 0
hik.bat ファイルの表示

@@ -1,8 +1,17 @@
if exist %WinDir%\SysWOW64\mshta.exe (
set MSHTA=%WinDir%\SysWOW64\mshta.exe
set IE="%ProgramFiles(x86)%\Internet Explorer\iexplore.exe"
set CLSROOT=Wow6432Node\CLSID
) else (
set MSHTA=mshta
set IE="%ProgramFiles%\Internet Explorer\iexplore.exe"
set CLSROOT=CLSID
)

REM register the protocol
reg add HKCR\hik /v "URL Protocol" /f
reg add HKCR\hik\shell\open\command /d "%MSHTA% \"javascript:open('%1'.replace('hik:',''),'ÏÔʾ´°¿Ú','height=600,width=650,location=no,menubar=no,resizable=yes');close()\"" /f

REM force IE in case that 360se has taken over the control
REM HKCR is the merged view of HKLM\Software\Classes and HKCU\Software\Classes
reg add HKCU\Software\Classes\%CLSROOT%\{0002DF01-0000-0000-C000-000000000046}\LocalServer32 /d %IE% /f

読み込み中…
キャンセル
保存