473,472 Members | 2,039 Online
Bytes | Software Development & Data Engineering Community
Create 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 4253
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.demon.co.uk/js_info/pop_ups.html>
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript 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.demon.co.uk/js_info/pop_ups.html>
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript 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.javascript 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.javascript 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
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...
38
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...
12
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,...
10
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. ...
6
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...
26
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...
13
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...
11
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...
7
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
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...
0
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...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.