By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,688 Members | 1,900 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,688 IT Pros & Developers. It's quick & easy.

PopUp detection without window.open

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.