将加号以下代码复制新建为bat后缀文档,双击运行。如果怎么新建bat文档都不清楚的,无法运行的同学可以下载:xlei.bat,一般电脑用户的文档后缀都设置有隐藏,具体怎么操作就不多说了,麻烦事,基本。
++++++++++++++++++++++++++++++++
cls
@echo off
color 0A
title 迅雷看看去广告补丁 QQ 970515750【http://brhum.org】
echo.
echo =====去除迅雷看看广告补丁 QQ 970515750【http://brhum.org】===========
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