欢迎来到 嗅灵易学

零基础也能上手的脚本技术课,一对一答疑带你入门

教大家去除迅雷看看广告(XP下有效果,WIN 7没测试过)

教大家去除迅雷看看广告(XP下有效果,WIN 7没测试过)

相信大家都有在迅雷看看上看过电影,估计对电影开始前的30秒的广告烦恼不已,现在给大家支个招,干掉这个烦人的广告!
cls 
@echo off 
color 0A 
title 迅雷看看去广告补丁 
echo. 
echo =====去除迅雷看看广告补丁=========== 
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 
把红色文字复制,新建txt文档,粘贴进去。
另存为xxx.bat!
双击之!
保存类型为所有文件,别忘了!有问题CALL ME

注意:上传附件及图片大小不得大于30M。

⚠️ 版权声明:
本博客所有内容(含教程、源码、工具)仅供个人技术学习与研究交流使用,严禁商用、倒卖、二次分发及非法用途。
未经作者书面授权,任何组织或个人不得转载、复制或用于其他平台,违者将追究相关责任。

0 0 0 举报
复制成功