Re: Blocking showModelessDialog() call
- From: Nate <nmoinvaziri@xxxxxxxxx>
- Date: Wed, 07 Nov 2007 11:51:24 -0000
On Oct 30, 10:03 pm, Dave Brown <key8...@xxxxxxxxx> wrote:
I've read a bunch of posts and the MSFT KB article which say you can't
catch the javascript call to showModelessDialog() in order to prevent
the dialog from appearing.
However, IE7 seems to be able to block popups from websites which use
showModelessDialog() without the user clicking on anything.
Does anyone know how they are doing this? Are they installing a hook
function and catching the dialog as it's created? The interesting
thing is that IE7 properly allows showModelessDialog to work if the
user clicks on a link which generates it.
Try injecting javascript to the effect of..
window.showModelessDialog = null;
Here is a list of techniques that I use to stop the popups and I get
most of em.
http://www.nathanm.com/iwebbrowser2-stopping-and-disabling-popups/
.
- Prev by Date: Passthrough APP help, please..
- Next by Date: Re: Passthrough APP help, please..
- Previous by thread: Re: Blocking showModelessDialog() call
- Next by thread: Re: How to catch onload event from C++?
- Index(es):
Relevant Pages
|