2026年10月31日 · 今日 0 帖 · 会员 6.1万 · 主题 17.4万
登录 · 注册 · 游客,欢迎随便逛逛
返回版块
只看作者:绝客网152340 查看全部
143487
Lv1韶华一笑间等级图标
帖子
8
回复
155
积分
2,954
注册
2013-09-29
[计算机网络]

教大家去迅雷看看广告

[复制链接]
查看 727 回复 0
楼主 发表于 | 查看全部
8 人收藏

闲来无事,写了个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,运行就可以了。

登录回复

登录后可以回复这个帖子。旧账号可使用原密码登录。

登录 注册新号
← 返回版块