Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WebBrowser - disable popups

Status
Not open for further replies.

Wings

Programmer
Feb 14, 2002
247
US
Hi, I'm trying to create a browser that will disable pop up
screens, does any one have any idea or information to point me in the right direction?

Thanks
 
Sounds like a big request... exactly how much of the codiing are you doing yourself? Are you going as far as to created you own DOM? that's where you'd have control... -gerrygerry
Go To
 
could you elaborate on that a little, this is my first stab at web based coding

thanks
 
Take a look at This is a free zapper which you can use in the meantime. Also The Mozilla browser has this feature and I believe the source code is available though I think it is written in Perl. Regards from Bluewater on the Great Barrier Reef.
 
Are you trying to write your own browser (like Netscape Navigattor or IE or Opera)?

I dont really understand where you are going with this... its a huge project to write your own browser, especially if you want to process javascript (along with suppression of things like popups).

Are you making your own browser and html/javascript "processor", or are you working to create some sort of a plug-in, or, are you working to create an app that uses IE's foundation to display webpages? Javascript is used for popups - do you just want to suppress js?

Please elaborate :) -gerrygerry
Go To
 
I am using IE as a foundation
 
I am working on this now using C++Builder5. Which has on the Components Internet tab a TCppWebBrowser Component which has a OnNewWindow Event where you can stop all popups including new windows.

If you are using C++Builder3 or 4 you can install from menu Components/Install Activex Control.

choose Microsoft Internet Controls from the list then click on install.

For help on control go to:

What I'm working on now is how to filter out popup adds of course. And have decided to make a component from TCppWebBRowser and add a OnPopup Event to handle this.

are you still interested or if you have found some answers please let me know.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top