473,735 Members | 2,150 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PopUp detection without window.open

I want to know if it is possible to detect if Pop up Blocker is enabled
without trying to open a Pop Up windows.
I'm trying to create a web analytics script and visible Pop up in case
of disabled PopUp Blocker is not being accepted.

Sep 25 '06 #1
4 4275
vickeybird said the following on 9/25/2006 2:37 PM:
I want to know if it is possible to detect if Pop up Blocker is enabled
without trying to open a Pop Up windows.
No.
I'm trying to create a web analytics script and visible Pop up in case
of disabled PopUp Blocker is not being accepted.
Then just use the "visible Pop up" (whatever that may be) all the time
and your problem is solved.
<URL:http://www.litotes.dem on.co.uk/js_info/pop_ups.html>
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Sep 25 '06 #2
Hey Randy,
Thanks a lot for taking time to help me out.
I'm afraid it looks like i have not been able to completely explain my
problem .
Let me clarify:
I don't want to display a Popup Window to user. I'm interested in
finding if a user's browser has active Pop Up Blocker or not. To do
this I was trying to access a Popup window after 'Popping' it up. This
is fine incase of enabled Popup Blockers. But for disabled or not
installed Popup Blockers, this results in a visible Pop up to user.

I have been asked to get this working without Popup Window visible to
users. Moreover for users with Pop Up blocker installed but disabled
this will report incorrect information.

For this reason a DHTML window will not help us.

Any suggestions??

Thanks again for your efforts.

Vickeybird

Randy Webb wrote:
vickeybird said the following on 9/25/2006 2:37 PM:
I want to know if it is possible to detect if Pop up Blocker is enabled
without trying to open a Pop Up windows.

No.
I'm trying to create a web analytics script and visible Pop up in case
of disabled PopUp Blocker is not being accepted.

Then just use the "visible Pop up" (whatever that may be) all the time
and your problem is solved.
<URL:http://www.litotes.dem on.co.uk/js_info/pop_ups.html>
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Sep 28 '06 #3
vickeybird said the following on 9/28/2006 3:20 AM:

Answer:It destroys the order of the conversation
Question: Why?
Answer: Top-Posting.
Question: Whats the most annoying thing on Usenet?
Hey Randy,
Thanks a lot for taking time to help me out.
I'm afraid it looks like i have not been able to completely explain my
problem .
Let me clarify:
I don't want to display a Popup Window to user. I'm interested in
finding if a user's browser has active Pop Up Blocker or not. To do
this I was trying to access a Popup window after 'Popping' it up. This
is fine incase of enabled Popup Blockers. But for disabled or not
installed Popup Blockers, this results in a visible Pop up to user.

I have been asked to get this working without Popup Window visible to
users. Moreover for users with Pop Up blocker installed but disabled
this will report incorrect information.

For this reason a DHTML window will not help us.

Any suggestions??
Yes, give up now. You, as the programmer, have no way of knowing whether
I am using a popup blocker or not. Not even attempting to open a window
and then seeing if that window is there is reliable enough to know
whether I have one installed or not. And you *definitely* won't be able
to detect it without trying to open a window - with one exception:

Want to know if the user is using a popup blocker? Ask them. Otherwise,
you are doomed to failure before you start.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Sep 28 '06 #4
That sufficiently answers my query. Thanks a lot again for your help. I
think the javascript best practices like is fabulous.
vickeybird
Randy Webb wrote:
vickeybird said the following on 9/28/2006 3:20 AM:

Answer:It destroys the order of the conversation
Question: Why?
Answer: Top-Posting.
Question: Whats the most annoying thing on Usenet?
Hey Randy,
Thanks a lot for taking time to help me out.
I'm afraid it looks like i have not been able to completely explain my
problem .
Let me clarify:
I don't want to display a Popup Window to user. I'm interested in
finding if a user's browser has active Pop Up Blocker or not. To do
this I was trying to access a Popup window after 'Popping' it up. This
is fine incase of enabled Popup Blockers. But for disabled or not
installed Popup Blockers, this results in a visible Pop up to user.

I have been asked to get this working without Popup Window visible to
users. Moreover for users with Pop Up blocker installed but disabled
this will report incorrect information.

For this reason a DHTML window will not help us.

Any suggestions??

Yes, give up now. You, as the programmer, have no way of knowing whether
I am using a popup blocker or not. Not even attempting to open a window
and then seeing if that window is there is reliable enough to know
whether I have one installed or not. And you *definitely* won't be able
to detect it without trying to open a window - with one exception:

Want to know if the user is using a popup blocker? Ask them. Otherwise,
you are doomed to failure before you start.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Sep 30 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4378
by: Moon | last post by:
Seems I still haven't got the hang of all those window generating code in Javascript. I've got a page with about 15 photo thumbnails. When you click on a thumbnail a new window pops up which shows the enlarged version of said thumbnail. This works fine on all current browsers I've tested. However, in case I do not close the popup but click on another thumbnail instead, only IE replaces the enlarged pic by the new one, Firebird and Opera...
38
5082
by: Shaun McKinnon | last post by:
HI...Here's my problem...I have a popup window that loads when i want it to, but it's not sized properly. I've set the size, but it doesn't seem to work. I've been on 8 different websites to find out what i'm doing wrong, and so far it seems i'm doing it the right way. Here's my code...any suggestions would be appreciated. <script language="javascript"> <!-- window.open("256fx/index.htm", "", "height=400, width=600"); //-->
12
12431
by: HarveyB | last post by:
I would like to generate non-modal popup windows from ASP.Net code-behind. I have tried using Client Side scripting like "function Test(){ window.open('test.htm',_blank, 'height=200,width=400,status=no,toolbar=no, menubar=no,location=no resizable=no scrollable=no'); but I can't seem to invoke the client side script from within a Server Side Form. I know I can use the context with to Response.redirect or Server.transfer to return a
10
3187
by: Agony.COM | last post by:
Hi there all, Is there a way, using Javascript, that you can detect if a popup window has opened successfully? I'm tring to work out if someone is running popup blocking software or not. Cheers, @ndyB
6
2675
by: andrewkooi | last post by:
Greetings, I do not know whether such code exist but no harm asking: Is it possible for me to make visible a close button if the active window is a popup window or a new window (other than the main window)? What I mean is this: If the present window is the main window, then the close button should
26
6823
by: Raffi | last post by:
Hi, We have a database application that runs in a popup Internet Explorer application window. The reason for this is to isolate the casual user from the address bar and the typical IE navigation buttons. The application has a browser test page that displays an error message when a popup blocker is found and opens a popup page stating the test was successfull if there is no popup blocker.
13
6262
by: ldan | last post by:
Hi everybody, I would not consider myself an expert in javascript - but so far whatever I know, helped me reaching my goals. Recently I started to experience a lot of javascript errors related to opening up a popup window in an application I wrote. The error messages are quite diverse: "Object doesn't support this property or method" or "Unspecified error." or "The callee (server ) is not available and disappeared; all connections are...
11
7343
by: Alex.Svetos | last post by:
Hello, I'm trying to get a popup to keep focus when it is re-clicked. The script below is supposed to produce this exact behaviour, however it doesn't work, at least on firefox 1.0.7 and moz 1.7.12 (linux kubuntu). It does work with konqueror. It seems to work with firefox on windows but not with IE (not completly sure though).
7
3672
by: anthony.turcotte | last post by:
Hi, I've looked for a solution to this problem on google, read posts in this newsgroup and I still haven't found anything that could help me. Here's the scenario. 1. User accesses pageA.html 2. User clicks on menu link to open popup.html 3. pageA.html checks if popup.html is already open. It is not, open
0
8959
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8784
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9324
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9248
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6747
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4556
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4821
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3270
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2187
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.