
May 9th, 2005, 03:42 PM
|
|
Registered User
|
|
Join Date: Dec 2004
Location: Saint Louis, MO
Posts: 13
Time spent in forums: 2 h 46 m 37 sec
Reputation Power: 0
|
|
|
How to bypass popup blockers.
Many of the sites I build use popup dialogs for such things as definitions or calendar pickers. I'm concerned that a popup blocker such as the Google Toolbar can interfere with my site.
One approach I thought of is to determine if popups are being blocked and provide an alternative design that doesn't use a popup or that tells the user to deactivate their blocker. What's the easiest / best way to determine if a blocker is in effect? My plan would be to automatically popup a self closing window which sets a session variable when the first page is opened for a given session. If the session variable isn't set, then a blocker is in effect. Any issues with this approach?
However, in my research, I've seen comments that it is possible to bypass the google toolbar popup blocker. The comment was
Quote:
This was because the window.open was written to the postback's response stream from a serverside call to Open. Holding down ctrl quickly got old. So I added button and linkbutton controls that are pointed at dialog window controls, and open the dialog immediately on clientside click, thus eliminating both the popup blocker problem and the extra postback. |
(from http://weblogs.asp.net/asmith/archi...9/15/27684.aspx)
Can anyone provide me with information about how to bypass popup blockers or what popups they block? Is it only window.open during the page load but not from user actions, for example, activating a link or button?
Thanks.
|