473,396 Members | 2,023 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,396 software developers and data experts.

What triggers "popup blocker"?

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
Jun 22 '06 #1
7 8443
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:
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

Jun 22 '06 #2
In article <2e******************************@tbaytel.net>,
rob c <gr***********@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
Jun 23 '06 #3
JimK said the following on 6/23/2006 4:20 AM:
On Thu, 22 Jun 2006 19:20:54, gr***********@rcp.ca (rob c) wrote:
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


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


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/
Jun 23 '06 #4
On Thu, 22 Jun 2006 19:20:54 +0000, rob c wrote:
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


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.

Jun 23 '06 #5
In article <Ua******************************@comcast.com>,
Randy Webb <Hi************@aol.com> wrote:
Or go here and get a free one:

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


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
Jun 23 '06 #6
axlq wrote:
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.


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
Jun 23 '06 #7
In message <e7**********@blue.rahul.net> - ax**@spamcop.net (axlq) writes:
:>
:>In article <2e******************************@tbaytel.net>,
:>rob c <gr***********@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

Jun 25 '06 #8

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

Similar topics

1
by: P-O | last post by:
Hi! I want to open the "Find" window in MSIE to allow a user to find text on the page they are looking at (Ctrl+F). Any sggestions for the easiest possible way? /P-O
0
by: yotaxp | last post by:
Hello, everyone. I've been trying to get a popup editor going for a control I'm working on. I don't mean a design-time editor for properties, though that would be a good example of what I'm...
2
by: Simon Verona | last post by:
I have a problem, best explained by example. I have a usercontrol which contains a text box and a button. If the button is clicked then the calender control is displayed as a "popup" so that a...
3
by: bdog4 | last post by:
I've seen on some php forums that they use some type of popup box that I assume is javascript to display a animated gif/flash when you do a quick edit. My popup blocker does not detect it so I...
6
by: =?Utf-8?B?R3V5?= | last post by:
On a Page I want a user can select (a)name(s) from a so called "popup" window as well as selecting a date from a "popup" calendar. I found some examples by using JavaScript. But my question is can...
3
by: =?Utf-8?B?TGVqZGJvcmc=?= | last post by:
Hi! I have a .NET-application made in Visual Basic 2005 that works perfectly. The only problem is that whenever I run the application on another computer than my own Windows warns the user and...
9
by: Tonio Tanzi | last post by:
I have an asp page with this tag <body onLoad="show_msg('<%=error_msg%>');"> where "show_msg" is a javascript function that shows the message contained in the asp variable "error_msg" only if...
1
by: beydtha | last post by:
Is there any code to get rid of such Popup block message ,,,,,,,,,,, that are shown at the time of openning a web site. would u plz help me to have such code ... ?
1
by: Larry Bud | last post by:
Is there a slick way to add rollover info popup when someone rolls over a particular column for a particular row in a GridView? For example, I have a "status" column, which ranges 1-5. I don't...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.