473,238 Members | 1,582 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,238 software developers and data experts.

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 4239
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: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.