Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pop Up Windows

Status
Not open for further replies.

fenneraj

Programmer
Jul 29, 2003
21
SE
Hi,
I have recently built a web system that opens a pop up window for data entry. Unfortunately my manager has Google toolbar that has a very basic pop up blocker incorporated into it. As it is not customisable, he cannot view these pages without turning the whole tool bar off. My question is:

What defines what a Pop up blocker sees as a pop up window, and is there a work around in DHTML or javascript that will stop this window from being blocked.

Kindest Regards
Andrew Fenner
 

As far as I know, you can customize the Google toolbar to allow certain addresses to not be blocked by the popup blocker.

While I don't have it installed myself, a colleague who does has mentioned this, so it might be worth investigating.

You cannot bypass popup blockers using DHTML.

Hope this helps,
Dan
 
(!?) Google toolbar can enable popups and remember setting per-site with one click.
 
In fact, reading the manual would have done you just as well:


Google said:
To let a pop-up through on a one-time basis, press and hold the CTRL key as you click on a link to navigate to a new page.

Google said:
Sometimes sites communicate useful information via pop-up windows. The pop-up blocker can be told to remember these sites so pop-up windows are allowed to launch. This information is stored on your computer in what's known as a "whitelist" (as opposed to a "blacklist"). The pop-up blocker uses the whitelist to turn itself off when you visit sites whose pop-ups you don't mind viewing.

Dan
 
Cheers guys,
I had a fiddle with google tool bar, but couldn't orignally find an acceptance list, i will look again.

AF
 
Where it says "* popups blocked" (int the middle) just click the button when on the site you wish to allow popups through on.
 
When I test the following code Googlebar doesn't block it. Maybe it will work for you.
Code:
<a href="data.html" onclick="window.open(this.href, 'popupwindow', 'width=535,height=410,scrollbars,resizable');  return false;">Data Form</a>
 

Were you testing that code locally? I'm not sure if Google blocks locally run code or not - I can't imagine it would by default.

Dan
 
It's time to think about this system interface design usability (quality)...
It seems popups are discredited now. It's user's right to suppress popups...
 
I tested that code on a website, not locally. Google doesn't block it.
 
The solution for why your code is not blocked is also contained in the Google Help.


GoogleHelp said:
The Google Toolbar's pop-up blocker only stops pop-ups that are created without requiring an action on the user's part. Legitimate pop-ups are created as a result of a user's click. The pop-up blocker allows one pop-up window to open per user click.

Jeff
 
all popup blockers work this way as far as i know., they only block auto-popups, not button-popups

I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
 
Does anyone know if that will still be the case for the changes under XP SP2. My understanding of the IE Popup Blocker is that it will block all instances of window.open()

Michael Brennan-White
New Hampshire Treasury Department
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top