Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > How to find if Pop Blocker of SP2 is Enabled on client browser
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 22nd July 07:40
gswitz‚Ì·=´Óh+¢êlɨh¡Ê&
External User
 
Posts: 1
Default How to find if Pop Blocker of SP2 is Enabled on client browser



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
  Reply With Quote


  sponsored links


2 22nd July 07:40
bruce barker
External User
 
Posts: 1
Default How to find if Pop Blocker of SP2 is Enabled on client browser



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)

| 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
|
  Reply With Quote
3 22nd July 07:40
gswitz‚Ì·=´Óh+¢êlɨh¡Ê&
External User
 
Posts: 1
Default How to find if Pop Blocker of SP2 is Enabled on client browser


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.
  Reply With Quote
4 22nd July 07:40
bruce barker
External User
 
Posts: 1
Default 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
| > |
| >
| >
| >
  Reply With Quote
5 22nd July 07:40
gswitz‚Ì·=´Óh+¢êlɨh¡Ê&
External User
 
Posts: 1
Default How to find if Pop Blocker of SP2 is Enabled on client browser


Bruce, can you tell me how to do the "Before Test"?

Thanks,

Geoff
  Reply With Quote
6 22nd July 07:40
bruce barker
External User
 
Posts: 1
Default How to find if Pop Blocker of SP2 is Enabled on client browser


sorry typo, i meant NO before test.

| Bruce, can you tell me how to do the "Before Test"?
|
| Thanks,
|
| Geoff
|
  Reply With Quote
7 22nd July 07:40
chris r. timmons
External User
 
Posts: 1
Default How to find if Pop Blocker of SP2 is Enabled on client browser


Geoff,

Info from MSDN:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/xpsp2web.asp

and here's an entry from the IE Team's blog:

http://weblogs.asp.net/ie/archive/2004/09/09/227542.aspx


--
Hope this helps.

Chris.
-------------
C.R. Timmons Consulting, Inc.
http://www.crtimmonsinc.com/
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666