Click here to Skip to main content
15,884,298 members
Articles / Desktop Programming / MFC
Article

Popup Killer

Rate me:
Please Sign up or sign in to vote.
4.44/5 (7 votes)
16 Jul 20021 min read 93.9K   2.7K   39   8
This application is meant to deal with those annoying popup windows

Sample Image

Description:

This application is meant to deal with those annoying popup windows when you are browsing on the internet.
The program lets you add window titles to a list. And the next time it sees this window it kills it automatically. You can also asign a hotkey to the application, and when you press this hotkey it brings up the Add Window to banned list dialog.

How does it work?

Application works as follows: It continously (on a specified interval) scans all windows that are opened (by any program) and checks to see if there is a window title that matches one from the list. If it finds one the program, sends a close message to that window, which means it will be destroyed.

By default the application has already a huge list of 'well-known' popup windows. But of course advertisers constantly update their popup screens, so you have to add new windows yourself. This can be done in several ways: Just bring the application to the foreground, select Banned Windows, and choose Add. Now you can select the title from the list and click OK to add it to your Banned windows list.

Another (easier) way to select a title is to use the hotkey. Once the hotkey is activated, all you have to do is press this key (for instance F8) and the Add a window dialog will popup. The select the title, press OK and you're done!

Contacting the Author

Please send any comments or bug reports to me via email. For any updates to this article, check my site here.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Netherlands Netherlands
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralSimpler is Better Pin
Jeff Patterson7-Oct-02 12:59
Jeff Patterson7-Oct-02 12:59 
This kills the webshots popups but still allows the downloads.
This app is a keeper ThanksSmile | :)

Jeff Patterson

Programmers speak in Code.
http://www.anti-dmca.org


GeneralPopup Killer name in use Pin
Anonymous16-Aug-02 17:45
Anonymous16-Aug-02 17:45 
GeneralHosting IE Pin
Stephane Rodriguez.23-Jul-02 22:32
Stephane Rodriguez.23-Jul-02 22:32 
GeneralEven better solution... Pin
Anonymous23-Jul-02 14:47
Anonymous23-Jul-02 14:47 
GeneralMore efficient way. Pin
Anonymous19-Jul-02 11:09
Anonymous19-Jul-02 11:09 
GeneralRe: More efficient way. Pin
Anonymous22-Jul-02 3:54
Anonymous22-Jul-02 3:54 
GeneralRe: More efficient way. Pin
suvadip5-Dec-03 19:12
suvadip5-Dec-03 19:12 
GeneralSimple, yet effective Pin
Anonymous17-Jul-02 6:37
Anonymous17-Jul-02 6:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.