In the all over the the Internet is full of ads, now Youku and other video sites are irritating! These video ads are getting longer, super annoying, even more than 30S, and sometimes 2 ads "send" to you! In the past, I would have turned off the view immediately, and now we can totally "break up" with the ad, Return us a piece of pure land!
Tools/raw Materials
Windows
Internet
Method A self-built simple batch process
To observe the concerns of the comments on the note, this method directly affects the computer itself (of course, the computer does not have a pair of effects), so no matter what browser you use the effective, and a use can be, reinstall, a new installation of any browser does not matter, do not have to reuse. The browser plug-in is used only for that browser.
First delete the browser history. Open ie, press Ctrl+shift+del key combination, delete browser history, and then close IE browser:
If you do not remove the buffer first, do not close the browser, set after the shielding function will not immediately take effect;
If you dislike the following steps to trouble, want to be simple and quick, can go to dbank download complete program direct use: HTTP://DL.DBANK.COM/C09HNISZC7
If you must set up a program yourself, you can start the next step. Open Notepad:
Copy the following to Notepad (20121119 update):
@ECHO off
COLOR 0A
: Head
Cls
TITLE shielding Ku6, Youku, potatoes, thunder look, such as online video buffer ads
:: ECHO shielding Ku6, Youku, potatoes, thunder look at online video buffer ads
Echo.&echo.
echo┌───────:: Shielding video ads:: ────────┐
Echo││
Echo│1. Need to mask video advertising (overwrite host file after backup) │
Echo││
Echo│2. Do not mask video ads (restore host files) │
Echo││
echo│3. Handling video Black screen issues │
Echo││
Echo│0. Exit │
Echo││
Echo└───────────────────────┘
Echo.
set/p sel= Please enter (1,2,3,0):
Echo%sel%|findstr/be "[0-3]*" >nul &&goto:sta| | (Echo input error, please re-enter &echo.&pause&goto:head)
: STA
If%sel%==1 set words= need to screen video ads &set P1=%windir%system32driversetchosts&goto:backup
If%sel%==2 set words= does not mask video advertising &set P1=%windir%system32driversetchosts&&goto:recover
If%sel%==3 set words= deal with video black screen problem &goto:black
If%sel%==0 exit
Echo Selects%sel%, which is set to "words"
echo.&%0
: Backup
TITLE is backing up the host file
Echo.&echo is backing up the host file
Echo%p1%
:p ause
: Goto:head
If exist%p1%.txt (echo backup file already exists, no backup) Else (copy%p1%%p1%.txt&if exist%p1%.txt echo backup complete)
TITLE is completing the shielding function
Echo.&echo is completing the screening function
>>%p1% Echo.
>>%p1% Echo 127.1 server1.adpolestar.net
>>%p1% Echo 127.1 mtips.xunlei.com
>>%p1% Echo 127.1 kkpgv.xunlei.com
>>%p1% Echo 127.1 statis.kankan.xunlei.com
>>%p1% Echo 127.1 recommend.xunlei.com
>>%p1% Echo 127.1 cl.kankan.xunlei.com
>>%p1% Echo 127.1 advstat.xunlei.com
>>%p1% Echo 127.1 recommend.xunlei.com
>>%p1% Echo 127.1 cl.kankan.xunlei.com
>>%p1% Echo 127.1 MSG1.client.xunlei.com
>>%p1% Echo 127.1 pubstat.sandai.net
>>%p1% Echo 127.1 biz5.sandai.net
>>%p1% Echo 127.1 mcfg.sandai.net
>>%p1% Echo 127.1 float.sandai.net
>>%p1% Echo 127.1 mpv.sandai.net
>>%p1% Echo 127.1 atm.youku.com
>>%p1% Echo 127.1 Fvid.atm.youku.com
>>%p1% Echo 127.1 html.atm.youku.com
>>%p1% Echo 127.1 valb.atm.youku.com
>>%p1% Echo 127.1 valc.atm.youku.com
>>%p1% Echo 127.1 valo.atm.youku.com
>>%p1% Echo 127.1 valp.atm.youku.com
>>%p1% Echo 127.1 valf.atm.youku.com
>>%p1% Echo 127.1 lstat.youku.com
>>%p1% Echo 127.1 speed.lstat.youku.com
>>%p1% Echo 127.1 urchin.lstat.youku.com
>>%p1% Echo 127.1 stat.youku.com
>>%p1% Echo 127.1 static.lstat.youku.com
>>%p1% Echo 127.1 vid.atm.youku.com
>>%p1% Echo 127.1 walp.atm.youku.com
:: >>%p1% echo 127.1 g1.ykimg.com
:: >>%p1% echo 127.1 g2.ykimg.com
:: >>%p1% echo 127.1 g3.ykimg.com
:: >>%p1% echo 127.1 g4.ykimg.com
>>%p1% Echo 127.1 comments.youku.com
>>%p1% Echo 127.1 e.stat.youku.com
>>%p1% Echo 127.1 analytics.ku6.com
>>%p1% Echo 127.1 gug.ku6cdn.com
>>%p1% Echo 127.1 ku6.allyes.com
>>%p1% Echo 127.1 ku6afp.allyes.com
>>%p1% Echo 127.1 pq.stat.ku6.com
>>%p1% Echo 127.1st.vq.ku6.cn
>>%p1% Echo 127.1 stat0.888.ku6.com
>>%p1% Echo 127.1 stat1.888.ku6.com
>>%p1% Echo 127.1 stat2.888.ku6.com
>>%p1% Echo 127.1 stat3.888.ku6.com
>>%p1% Echo 127.1 static.ku6.com
>>%p1% Echo 127.1 v0.stat.ku6.com
>>%p1% Echo 127.1 v1.stat.ku6.com
>>%p1% Echo 127.1 v2.stat.ku6.com
>>%p1% Echo 127.1 v3.stat.ku6.com
>>%p1% Echo 127.1 adcontrol.tudou.com
>>%p1% Echo 127.1 adplay.tudou.com
>>%p1% Echo 127.1 stat.tudou.com
>>%p1% Echo 127.1 stats.tudou.com
>>%p1% Echo 127.1 iwstat.tudou.com
>>%p1% Echo 127.1 nstat.tudou.com
>>%p1% Echo 127.1 adextensioncontrol.tudou.com
>>%p1% Echo 127.1 acs.56.com
>>%p1% Echo 127.1 acs.agent.56.com
>>%p1% Echo 127.1 acs.agent.v-56.com
>>%p1% Echo 127.1 bill.agent.56.com
>>%p1% Echo 127.1 bill.agent.v-56.com
>>%p1% Echo 127.1 stat.56.com
>>%p1% Echo 127.1 stat2.corp.56.com
>>%p1% Echo 127.1 union.56.com
>>%p1% Echo 127.1 uvimage.56.com
>>%p1% Echo 127.1 v16.56.com
>>%p1% Echo 127.1 at-img1.tdimg.com
>>%p1% Echo 127.1 at-img2.tdimg.com
>>%p1% Echo 127.1 at-img3.tdimg.com
>>%p1% Echo 127.1 pro.letv.com
>>%p1% Echo 127.1 afp.qiyi.com
>>%p1% Echo 127.1 track.cupid.qiyi.com
>>%p1% Echo 127.1 pic0.qiyipic.com
>>%p1% Echo 127.1 pic1.qiyipic.com
>>%p1% Echo 127.1 pic2.qiyipic.com
>>%p1% Echo 127.1 pic3.qiyipic.com
>>%p1% Echo 127.1 msg.video.qiyi.com
>>%p1% Echo 127.1 show.cupid.qiyi.com
>>%p1% Echo 127.1 api.cupid.qiyi.com
>>%p1% Echo 127.1 widget.weibo.com
>>%p1% Echo 127.1 a.htwisdom.com
>>%p1% Echo 127.1 vinfo.cdn.ppweb.com.cn
>>%p1% Echo 127.1 b.scorecardresearch.com
>>%p1% Echo 127.1 irs01.com
>>%p1% Echo 127.1 rec.inter.qiyi.com
>>%p1% Echo 127.1 score.video.qiyi.com
>>%p1% Echo 127.1 218.5.73.132
>>%p1% Echo 127.1 61.131.89.148
>>%p1% Echo 127.1 dcads.sina.com.cn
>>%p1% Echo 127.1 focusbaiduafp.allyes.com
>>%p1% Echo 127.1 adslvfile.qq.comadslvfile.qq.com
>>%p1% Echo 127.1 game0592.com
>>%p1% Echo 127.1 game.ad1111.com
Ipconfig/flushdns >nul
Echo.
TITLE screen complete, please check if successful
ECHO Mask complete, please check for success
Pause
Goto:head
: Recover
Cls
TITLE does not shield ads, restore host files
Echo.&echo do not shield ads, restore host files
If exist%p1%.txt (copy/y%p1%.txt%p1%) Else (echo.&echo backup file does not exist, cannot be restored)
If exist%p1%.bak (copy/y%p1%.bak%p1%) >nul
If exist%p1%_backup (copy/y%p1%_backup%p1%) >nul
Ipconfig/flushdns >nul
ECHO.
Pause
Goto:head
: Black
TITLE Processing Video black screen problem
ECHO Processing Video black screen problem
Dir "%userprofile%application datamacromediaflash player#sharedobjects"/ad/b >%systemdrive%dirtmp.txt for/f%%a in (%systemdrive%dirtmp.txt) do rd/s/q "%userprofile%application datamacromediaflash player#sharedobjects%%a"
MD "%userprofile%application Datamacromediaflash player#sharedobjectsstatic.youku.com"
attrib +a "%userprofile%application datamacromediaflash player#sharedobjectsstatic.youku.com"
del/f/q%systemdrive%dirtmp.txt
Echo.&echo Operation complete!
Pause
Goto:head
: End
Exit
In the Notepad window, click on the "File" menu and select "Save as ..." command;
Choose "Save Type" as "All Files", remember!