- UID
- 383644
- 主题
- 注册时间
- 2013-12-1
- 在线时间
- 小时
- 最后登录
- 1970-1-1
签到天数: 25 天 [LV.4]偶尔看看III
|
发表于 2013-12-1 19:48:41
|
显示全部楼层
@Echo off
title 屏蔽优酷、土豆、迅雷看看等在线视频缓冲广告
color 0A
cls
echo.
echo.
echo 屏蔽优酷、土豆、迅雷看看等在线视频缓冲广告
ping /n 4 127.0.0.1 >nul
cls
copy %windir%\system32\drivers\etc\hosts %windir%\system32\drivers\etc\hosts.bak
>>%windir%\system32\drivers\etc\hosts echo 0.0.0.0 adcontrol.tudou.com
>>%windir%\system32\drivers\etc\hosts echo 0.0.0.0 valf.atm.youku.com
>>%windir%\system32\drivers\etc\hosts echo 0.0.0.0 dcads.sina.com.cn
>>%windir%\system32\drivers\etc\hosts echo 0.0.0.0 pubstat.sandai.net
>>%windir%\system32\drivers\etc\hosts echo 0.0.0.0 mcfg.sandai.net
>>%windir%\system32\drivers\etc\hosts echo 0.0.0.0 biz5.sandai.net
>>%windir%\system32\drivers\etc\hosts echo 0.0.0.0 float.sandai.net
>>%windir%\system32\drivers\etc\hosts echo 0.0.0.0 recommend.xunlei.com
>>%windir%\system32\drivers\etc\hosts echo 0.0.0.0 cl.kankan.xunlei.com
REM 刷新DNS缓存
ipconfig /flushdns
cls
echo.
echo 操作完毕,正在退出…
ping /n 3 127.0.0.1 >nul
exit |
|