473,831 Members | 2,337 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 8478
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***********@r cp.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.dem on.co.uk/js_info/pop_ups.html>

--
Randy
comp.lang.javas cript 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.dem on.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**********@b lue.rahul.net> - ax**@spamcop.ne t (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
2313
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
1248
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 aiming for. I need a control or form to pop up over the form, with input focus, without allowing the parent control to appear unfocused. It would be better to go by example, so think of the context/main menu, the drop-down from a combo box, and a...
2
2315
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 date can be chosen. This replicates the date-picker control except that it has other checks in it (my user control also has the ability for other data types with other "popups" for validation).... The problem is that if the user control is at...
3
25495
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 leads me to believe it is javascript. Does anyone have an ideas on how I can do this or an example/tutorial? They use it on Invision Power Boards Thanks
6
1553
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 this also be achieved (and how) without JavaScript, and is it advisable (not using JavaScript in case its possible)? Thanks Guy
3
1226
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 tells him that it's not sure wheter to trust the author of the program or not. You then have to click OK to run the program. How can I get rid of this very un-professional-looking warning? Thanks in advance!
9
5314
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 this variable is not empty. The message is shown using the "alert()" function. The page works good in almost all the case, but some users have reported to my that the alert window don't appear.
1
2056
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
2256
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 want to put the status desc in the column, just the number, but I want the user to be able to roll over the value and have the description popup in a <div> Clearly this is client side, but thought there might be an easy way to do it.
0
9793
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9642
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10534
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10208
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7748
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6951
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5620
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4417
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3964
muto222
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.