Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / JScript / December 2004

Tip: Looking for answers? Try searching our database.

How to find if Pop Blocker of SP2 is Enabled on client browser

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gswitz - 21 Dec 2004 21:05 GMT
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
bruce barker - 21 Dec 2004 23:20 GMT
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
[quoted text clipped - 13 lines]
|
| Geoff
gswitz - 22 Dec 2004 12:23 GMT
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.

> to detect
>
[quoted text clipped - 33 lines]
> |
> | Geoff
bruce barker - 22 Dec 2004 16:52 GMT
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
[quoted text clipped - 38 lines]
| > |
| > | Geoff
gswitz - 22 Dec 2004 18:43 GMT
Bruce, can you tell me how to do the "Before Test"?

Thanks,

Geoff
bruce barker - 22 Dec 2004 20:30 GMT
sorry typo, i meant NO before test.

| Bruce, can you tell me how to do the "Before Test"?
|
| Thanks,
|
| Geoff
Chris R. Timmons - 23 Dec 2004 00:45 GMT
> I work for Overnite Transportation and our website previously
> depended on non-user interactive pop pages.  Bummer for us.  Now
[quoted text clipped - 10 lines]
> 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.

Geoff,

Info from MSDN:

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


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

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

Signature

Hope this helps.

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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.