zhaoJian's Tech Notes

Block China Unicom Ads and Prevent Unicom Information Platform Pop-ups

Technology ~711 words · 2 min read - views

This method can block and prevent China Unicom ads, specifically the recently launched Unicom Information Platform pop-ups.

Create a new text document and enter the following content:

attrib -s -r C:\WINDOWS\system32\drivers\etc\hosts
call notepad.exe C:\WINDOWS\system32\drivers\etc\hosts
attrib +r +s C:\WINDOWS\system32\drivers\etc\hosts
exit

Then rename the file to: a.bat

Run the created a.bat file. In the Notepad editor that pops up, add a new line at the bottom with the following content:

0.0.0.0 www.10010cn.com

Save and exit.

My blog will soon be synced to Tencent Cloud Developer Community. Welcome to join: https://cloud.tencent.com/developer/support-plan?invite_code=3uj9lgrqwygws

Share:

Comments