Re: How blocking pop-ups with WebBrowser component?

From: Maarten Wiltink (maarten_at_kittensandcats.net)
Date: 08/03/04


Date: Tue, 3 Aug 2004 08:50:28 +0200


"jOhN" <hjohn@videotron.ca> wrote in message
news:6k5tg0tkongc9naku89nfg2gqerko0cj3s@4ax.com...

> I'm learning Delphi 6, and I'm trying to create a light Web browser
> using the WebBrowser component. This component is linked to Internet
> Explorer, and pop-ups are opened in IE.
>
> How can I block these pop-ups?

By changing how your web browser component works. If you can't, well,
that's what comes with the choice to use that component. As an exercise
in learning how to use visual component, it's not a bad choice at all -
but it's also a demonstration of the limitations you incur using them.

There are other HTTP client/HTML viewer components that _do_ come with
source, and are perhaps easier to control and modify.

As a learning project, have you considered writing Pacman? It was an
eternal favourite back at high school where I learned programming.

Groetjes,
Maarten Wiltink



Relevant Pages

  • unwanted browsers opening
    ... explorer window when I am on the internet. ... and they happen on sites that do not use pop-ups. ... don't load anything, and sometimes they open and close by ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Status Bar will not appear by Default
    ... Some pop-ups have it and the normal window explorer has it, but the internet ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • How blocking pop-ups with WebBrowser component?
    ... using the WebBrowser component. ... This component is linked to Internet ... Explorer, and pop-ups are opened in IE. ...
    (alt.comp.lang.borland-delphi)
  • Need help: IE pop-ups with WebBrowser component
    ... using the WebBrowser component. ... This component is linked to Internet ... Explorer, and pop-ups are opened in IE. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Windows XP home sp2 wireless network
    ... Also I have recently been having a big problem with pop-ups. ... Messenger Service pop-up can't contain a clickable link. ... unintentionally serves as a valid security alert. ... haven't been taking sufficient precautions while connected to the Internet. ...
    (microsoft.public.windowsxp.network_web)