现在的位置: 首页 > 综合 > 正文

迅雷看看去广告补丁

2013年10月08日 ⁄ 综合 ⁄ 共 2933字 ⁄ 字号 评论关闭

 

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

抱歉!评论已关闭.