Connecting Tech Pros Worldwide Forums | Help | Site Map

What triggers "popup blocker"?

rob c
Guest
 
Posts: n/a
#1: Jun 23 '06
Hi

Does anyone know what triggers a "popup blocker"?
I'm going to be opening some sub-windows from my main page and don't want to
get caught in a blocker.

Thanks
Rob



Ian Skinner
Guest
 
Posts: n/a
#2: Jun 23 '06

re: What triggers "popup blocker"?


Unfortantly the answer for that is, "Whatever the programmer(s) of the
popup blocker wanted it to be triggered by." This can very widely from
one popup blocker to another. Many are triggered by any javascript that
generates a new window without any user interaction. Some are even more
restrictive then that.

rob c wrote:[color=blue]
> Hi
>
> Does anyone know what triggers a "popup blocker"?
> I'm going to be opening some sub-windows from my main page and don't want to
> get caught in a blocker.
>
> Thanks
> Rob
>
>[/color]
axlq
Guest
 
Posts: n/a
#3: Jun 23 '06

re: What triggers "popup blocker"?


In article <2eednaEBSc9LuAbZnZ2dnUVZ_qednZ2d@tbaytel.net>,
rob c <groups_nospam@rcp.ca> wrote:[color=blue]
>Does anyone know what triggers a "popup blocker"?[/color]

Usually, opening a window. Some popup blockers require the user to
do something to cause the window to open to allow it, others don't.
The one I use (Proxomitron) blocks all pop-ups when a window loads
and then restores them after the page is completely loaded.
[color=blue]
>I'm going to be opening some sub-windows from my main page and
>don't want to get caught in a blocker.[/color]

You can't avoid it. The best solution is to make the site degrade
gracefully. For example, use anchor links with target=_blank to
cause links to open new windows, and also have an onClick javascript
attribute in the anchor to cause the window to have the desired
attributes you want.

-A
Randy Webb
Guest
 
Posts: n/a
#4: Jun 23 '06

re: What triggers "popup blocker"?


JimK said the following on 6/23/2006 4:20 AM:[color=blue]
> On Thu, 22 Jun 2006 19:20:54, groups_nospam@rcp.ca (rob c) wrote:
>[color=green]
>> Hi
>>
>> Does anyone know what triggers a "popup blocker"?
>> I'm going to be opening some sub-windows from my main page and don't want to
>> get caught in a blocker.
>>
>> Thanks
>> Rob
>>[/color]
>
> Far as i know, their no way to get around pop-up blocker with
> un-requested pop-ups except when the user 'allows the popup' is set.
>
> Their is a way to fake a popup using DHTML that gets around pop-up
> blockers. Unblockable DHTML Pop-Up
> http://www.antssoft.com/wisepopup/index.htm[/color]

Or go here and get a free one:

<URL: http://www.litotes.demon.co.uk/js_info/pop_ups.html>

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Temporarily at: http://members.aol.com/_ht_a/hikksnotathome/cljfaq/
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Ivan Marsh
Guest
 
Posts: n/a
#5: Jun 23 '06

re: What triggers "popup blocker"?


On Thu, 22 Jun 2006 19:20:54 +0000, rob c wrote:
[color=blue]
> Hi
>
> Does anyone know what triggers a "popup blocker"? I'm going to be
> opening some sub-windows from my main page and don't want to get caught
> in a blocker.
>
> Thanks
> Rob[/color]

That's kind of a diplomatic way to say "How do I piss off my end-users by
defeating their pop-up blocker?" isn't it?

--
The USA Patriot Act is the most unpatriotic act in American history.
Feingold-Obama '08 - Because the Constitution isn't history,
It's the law.

axlq
Guest
 
Posts: n/a
#6: Jun 23 '06

re: What triggers "popup blocker"?


In article <UaidnVIyFYs5eQbZnZ2dnUVZ_qCdnZ2d@comcast.com>,
Randy Webb <HikksNotAtHome@aol.com> wrote:[color=blue]
>Or go here and get a free one:
>
><URL: http://www.litotes.demon.co.uk/js_info/pop_ups.html>[/color]

That's brilliant - Using CSS+Javascript tricks to render a fake
window within the real window, with a clickable close gadget and
all. So nothing actually pops up, you're just toggling existing
content on and off.

-A
Matt Kruse
Guest
 
Posts: n/a
#7: Jun 23 '06

re: What triggers "popup blocker"?


axlq wrote:[color=blue]
> That's brilliant - Using CSS+Javascript tricks to render a fake
> window within the real window, with a clickable close gadget and
> all. So nothing actually pops up, you're just toggling existing
> content on and off.[/color]

Not really so brilliant - in fact, rather common.
See google's toolset, or yahoo's libs, or
http://www.javascripttoolbox.com/lib/popup/example.php

--
Matt Kruse
http://www.JavascriptToolbox.com
http://www.AjaxToolbox.com


rob c
Guest
 
Posts: n/a
#8: Jun 25 '06

re: What triggers "popup blocker"?


In message <e7fdjc$ggm$1@blue.rahul.net> - axlq@spamcop.net (axlq) writes:
:>
:>In article <2eednaEBSc9LuAbZnZ2dnUVZ_qednZ2d@tbaytel.net>,
:>rob c <groups_nospam@rcp.ca> wrote:
:>>Does anyone know what triggers a "popup blocker"?
:>
:>Usually, opening a window. Some popup blockers require the user to
:>do something to cause the window to open to allow it, others don't.
:>The one I use (Proxomitron) blocks all pop-ups when a window loads
:>and then restores them after the page is completely loaded.
:>
:>>I'm going to be opening some sub-windows from my main page and
:>>don't want to get caught in a blocker.
:>
:>You can't avoid it. The best solution is to make the site degrade
:>gracefully. For example, use anchor links with target=_blank to
:>cause links to open new windows, and also have an onClick javascript
:>attribute in the anchor to cause the window to have the desired
:>attributes you want.
:>
:>-A

From the sounds of it I should be ok. The pop-up windows I'll be using will
only occur when the user requests them. I was planning on using target=_blank
and was also wondering how to control the attributes.
Can you post a small sample of the onClick script you mentioned?

Thanks
Rob

Closed Thread