Re: Blocking showModelessDialog() call
- From: Dave Brown <key88sf@xxxxxxxxx>
- Date: Wed, 31 Oct 2007 14:46:18 -0700
On Oct 31, 11:28 am, mh <mehr...@xxxxxxxxx> wrote:
Either implement "INewWindowManager" interface (WinXP sp2 and up) or
use a CBT hook and intercept CREATEWND and check to see if window
class matches "Internet Explorer_TridentDlgFrame" and dismiss it.
MH
On Oct 31, 9:11 am, Dave Brown <key8...@xxxxxxxxx> wrote:
On Oct 31, 5:03 am, "Igor Tandetnik" <itandet...@xxxxxxxx> wrote:
"Dave Brown" <key8...@xxxxxxxxx> wrote in message
news:1193807033.603784.72790@xxxxxxxxxxxxxxxxxxxxxxxxxxx
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.
I believe NewWindow3 event, new in IE7, does report such dialogs.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
Nope, it doesn't :(- Hide quoted text -
- Show quoted text -- Hide quoted text -
- Show quoted text -
Ok - so yes INewWindowManager::EvaluateNewWindow() does indeed work.
Thank you! By the way - I tried the hook procs but couldn't find the
IE Trident class name even though I examined all dialogs coming up
(including from Atoms).
.
- References:
- Blocking showModelessDialog() call
- From: Dave Brown
- Re: Blocking showModelessDialog() call
- From: Igor Tandetnik
- Re: Blocking showModelessDialog() call
- From: Dave Brown
- Re: Blocking showModelessDialog() call
- From: mh
- Blocking showModelessDialog() call
- Prev by Date: Re: Blocking showModelessDialog() call
- Previous by thread: Re: Blocking showModelessDialog() call
- Next by thread: Re: Blocking showModelessDialog() call
- Index(es):
Relevant Pages
|
Loading