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
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?
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.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.