How to find if Pop Blocker of SP2 is Enabled on client browser
there is before test. actually many popup blockers try to fake the code out
(make it believe the popup happened - to prevent alterate code paths). its
an ongoing war between the blockers, and popup abusers.
-- bruce (sqlwork.com)
| Thanks for your response, Bruce. I'm curious if there is a way to discover
| whether popups are blocked before/without attempting to open one. Your
answer
| does give me what I need, but I'm just curious if I can request the
| information like a regional setting.
|
| "bruce barker" wrote: |
| > to detect
| >
| > <script>
| > var popup = window.open(...)
| > if (popup == null)
| > {
| > alert("our site currently requires popup blockers be disabled");
| > }
| > </script>
| >
| > how to enable your site will depend on which popup blockers they have
| > installed. most have a dialog box you can trust the site (xp2 - click on the
| > blocked poup icon). there is usually a blocked popup icon they can click on
| > to enable popups for the cureent page (some blockers will perform a refresh
| > of the page when enabled).
| >
| > -- bruce (sqlwork.com)
| >
| > "gswitz" <gswitz2000-groups@yahoo.com> wrote in message
| > news:54F720AF-017C-4C08-8CF0-43F1466FBC91@microsoft.com...
| > | I work for Overnite Transportation and our website previously depended on
| > | non-user interactive pop pages. Bummer for us. Now that SP2 is here, our
| > | web apps are busted.
| > |
| > | We would like to allow users an alternate path that doesn't use the pop
| > ups,
| > | but where popups are enabled, we would like to continue with our stuff.
| > |
| > | So, how can we request the status of the popup blocker from the browser
| > | using Java Script?
| > |
| > | Is there a method for prompting the user to set our site as trusted or to
| > | enable pop ups for *.overnite.com? If so, can you post an example of how
| > to
| > | call it, because we're a little slow.
| > |
| > | Thanks,
| > |
| > | Geoff
| > |
| >
| >
| >
|