cls
@echo off
color 0A
title 迅雷看看去廣告補丁 QQ 123488848【www.jz5u.com】
echo.
echo =====去除迅雷看看廣告補丁 QQ 123488848【www.jz5u.com】===========
echo.
echo 本補丁用於去除迅雷看看廣告,不會對你的系統造成任何危險
echo 去除迅雷看看頂部廣告及背景廣告,屏蔽播放介面15秒過渡廣告和暫停廣告
echo 已經應用過此補丁的,不需要重新應用
echo.
echo ------------------------------------------------------------------
echo 注意:此補丁將修改系統HOSTS檔案、清除本機快取檔案
echo ------------------------------------------------------------------
echo.
echo 第一步:添加迅雷看看去廣告補丁
pause
echo.>>%systemroot%\system32\drivers\etc\hosts
echo ------kankan patch by 123488848------>>%systemroot%\system32\drivers\etc\hosts
echo 127.0.0.1 mtips.xunlei.com>>%systemroot%\system32\drivers\etc\hosts
echo 127.0.0.1 biz5.sandai.net>>%systemroot%\system32\drivers\etc\hosts
echo 127.0.0.1 kkpgv.xunlei.com>>%systemroot%\system32\drivers\etc\hosts
echo 127.0.0.1 statis.kankan.xunlei.com>>%systemroot%\system32\drivers\etc\hosts
echo 127.0.0.1 mcfg.sandai.net>>%systemroot%\system32\drivers\etc\hosts
echo 127.0.0.1 float.sandai.net>>%systemroot%\system32\drivers\etc\hosts
echo 127.0.0.1 recommend.xunlei.com>>%systemroot%\system32\drivers\etc\hosts
echo 127.0.0.1 cl.kankan.xunlei.com>>%systemroot%\system32\drivers\etc\hosts
echo 127.0.0.1 server1.adpolestar.net>>%systemroot%\system32\drivers\etc\hosts
echo 127.0.0.1 advstat.xunlei.com>>%systemroot%\system32\drivers\etc\hosts
echo 127.0.0.1 mpv.sandai.net>>%systemroot%\system32\drivers\etc\hosts
echo 127.0.0.1 pubstat.sandai.net>>%systemroot%\system32\drivers\etc\hosts
echo 127.0.0.1 211.94.190.80>>%systemroot%\system32\drivers\etc\hosts
echo 127.0.0.1 adsresult.joywell.com.cn>>%systemroot%\system32\drivers\etc\hosts
echo ------kankan patch end------>>%systemroot%\system32\drivers\etc\hosts
echo 迅雷看看補丁添加完畢
echo ------------------------------------------------------------------
echo.
echo 第二步:清除本機快取,請關閉你的瀏覽器,IE/FIREFOX/遨遊等……
pause
echo.
echo 請確認瀏覽器已關閉!
pause
echo.
echo 開始執行清理……
echo.
echo 正在檢查cookies、曆史紀錄等目錄位置(目前使用者)……
reg query "HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Cache>%temp%\cleantmp.txt
reg query "HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Cookies>>%temp%\cleantmp.txt
reg query "HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v History>>%temp%\cleantmp.txt
reg query "HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v NetHood>>%temp%\cleantmp.txt
reg query "HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Recent>>%temp%\cleantmp.txt
echo 正在清理Cookies、IE緩衝、曆史紀錄等(目前使用者)……
for /f "tokens=3*" %%a in (%temp%\cleantmp.txt) do (
for /d %%i in ("%%a %%b\*.*") do rd /s /q "%%i"
del /a /f /s /q "%%a %%b\*.*"
)
::跟上面幾項未必是重複的(!),也是對目前使用者目錄
echo 正在清理臨時檔案 (系統目錄)……
del /a /f /s /q "%userprofile%\Locals~1\Tempor~1\*.*"
del /a /f /s /q "%userprofile%\Locals~1\Temp\*.*"
del /a /f /s /q "%userprofile%\cookies\*.*"
del /a /f /s /q "%Temp%\*.*"
del /a /f /s /q "%Tmp%\*.*"
echo.
echo 清理完畢(注: 若提示檔案沒找到是正常的)……
echo ------------------------------------------------------------------
echo.
echo 補丁已經順利執行完畢,請直接關閉視窗或按任意鍵退出!
echo 謝謝你的使用!
pause >nul
del %SystemRoot%\vTmp.txt