Groups | Blog | Home
all groups > asp.net > april 2006 >

asp.net : Popup Blockers


Just D.
4/4/2006 9:33:15 PM
Does anybody know the way to detect a popup blocker in the Internet
Explorer? I was thinking that I know but the customers got a situation when
I wasn't able to detect the Yahoo Toolbar Popup Blocker and the app screwed
up. I'm using this code in ASPX page right now:

var wobj =
window.open(somepage,pagename,"toolbar=no,statusbar=no,menubar=no,resizable=yes,location=no")
if (wobj==null) {
top.location.href = 'PopUpBlockerInfo.aspx';
} else {
...
}

What's a better way to do that?

Just D.

Just D.
4/4/2006 10:08:33 PM
Thanks,

but I think it's not a very good idea to buy and install something to
thousands of users just to test if they are using some kind of popup
blocker. All I need is to get the status and react appropriately. Sounds
much easier.

Just D.

[quoted text, click to view]

Spam Catcher
4/5/2006 12:00:00 AM
"Just D." <no@spam.please> wrote in news:5MHYf.6444$x11.301@fed1read10:

[quoted text, click to view]

You might want to consider using a tool like Browserhawk - it can do popup
detection (probably via some fancy javascript):

http://www.cyscape.com/products/bhawk/Default.aspx?bhcp=1

Spam Catcher
4/5/2006 11:23:16 AM
"Just D." <no@spam.please> wrote in news:bhIYf.6450$x11.5543@fed1read10:

[quoted text, click to view]

AddThis Social Bookmark Button