search 登录 注册
arrow_back返回列表
ID:143487
dark_modedark_modedark_modestar
Lv.1 韶华一笑间
edit_note帖子 8
stars积分 2,954
event加入 2013-09-29
电脑网络

教大家去迅雷看看广告

schedule发表于 2013-12-11 01:59:00 visibility查看 729 chat_bubble回复 10
#1 楼主
闲来无事,写了个DOS供大家参考,主要是通过修改host屏蔽广告。
代码如下。
cls
@echo off
color 0A
title (*原创)迅雷看看去广告补丁
echo.
echo =====去除迅雷看看广告补丁===========
echo.
echo 本补丁用于去除迅雷看看广告,不会对你的系统造成任何危险
echo 去除迅雷看看顶部广告及背景广告,屏蔽播放界面15秒过渡广告和暂停广告
echo 已经应用过此补丁的,不需要重新应用。powered by * 他的QQ是601639973。
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 *谢谢你的使用!更多精彩请加Q601639973!
pause >nul
del %SystemRoot%\vTmp.txt




把以上代码保存为xxx.bat,运行就可以了。

全部回复 (10)

ID:136264
dark_modedark_modedark_modestar
Lv.1 韶华一笑间
2013-12-11 08:21:00 沙发
,。
ID:135771
light_modestarstar
Lv.1 韶华一笑间
2013-12-11 09:13:00 板凳
ID:135332
light_modestar
Lv.4 莫问四书意
2013-12-11 09:47:00 地板
。。。。。
ID:143693
light_modestarstar
Lv.3 畅意三江水
2013-12-11 09:48:00 #5
好帖,顶起!
ID:110111
dark_modedark_modedark_modestarstarstar
Lv.3 畅意三江水
2013-12-11 12:30:00 #6
顶起
ID:53252
light_modedark_modedark_modestarstarstar
Lv.4 莫问四书意
2013-12-11 16:37:00 #7
骑着你爸日你妈,难度系数9.8
ID:121680
light_modedark_modestarstarstar
Lv.2 独赏二月雪
2013-12-11 16:57:00 #8
看见了
ID:60933
light_modedark_modestarstar
Lv.1 韶华一笑间
2014-02-21 12:22:00 #9
弄没有增值业务图库菊
ID:135978
dark_modedark_modedark_modestarstarstar
Lv.1 韶华一笑间
2014-03-08 21:59:00 #10
123456
ID:87612
dark_modedark_modedark_modestarstarstar
Lv.1 韶华一笑间
2015-03-16 16:20:00 #11
登录 后才能回复