Use BHO to intercept rogue advertisements of China Telecom

Source: Internet
Author: User

China Telecom has been playing rogue advertisements for several years, and it is still playing. Every day, it will play several internet star gossip news and various online game advertisements, so it is annoying.

I have seen that someone has successfully intercepted the website by using BHO. Recently, I also made a search item and added a configuration file to implement the functions of adding a new website to intercept the website, blocking prompts, and blocking records, in this way, all common users can use it, not limited to developers.

The following is the interception prompt:

Configuration file:

Whether the first action is intercepted. If it is changed to 0, no prompt is displayed. With the following interception URL, you can block the function of opening a website without knowing it.
The second behavior is to record logs. If it is changed to 0, no records will be recorded, and the records will be automatically recorded in the log.txt file.

The third line is the website to be intercepted. I am a common pop-up website of Nanning Telecom in Guangxi. You can set it as needed.

Overview of files in the compressed package:

Close IE, decompress it to any directory, and click Install. BAT to install it. You must also Disable IE when uninstalling it.

Note: Because BHO technology is used for development, bhoplugin is considered a threat by 360. Other Soft Kill estimates also report false positives. dll can be properly installed only when it is added as a trusted file (the current software kill is really bad, and BHO is killed with one stick ).

Source codeAttached together, vc6Code, Click here to download

Recently, I found that C # development of BHO is more convenient and convenient, at least not as much code as vc6 does not understand. I just copied it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.