Page 1 of 1
Popup Blocker
Posted: Mon Aug 09, 2004 11:16 am
by anjanesh
I have some popups which are NOT ads but related to the site like product information etc.
I want to know what methodology is used by blockers to block popups.
I've used window.location,document.open and showModalessDialog for popups. Do blockers check for these in the scripts ?
Many are coming with popup blockers like Y!, Google, Netscape, FireFox etc. I've to rethink how Im suppossed to write code now if people are going to use popup blockers
Thanks
Posted: Mon Aug 09, 2004 11:25 am
by feyd
most popup blockers will block all automatic popups, but they allow requested popups. So making your popup code work off a link, will get it to work on most of the blockers. Some will blanketly deny the popup to launch however.
It can be suggested that you may want to redesign to not use popups at all.
Posted: Mon Aug 09, 2004 11:35 am
by anjanesh
Yes. I know its better to not use popups in the first place but my client won't agree. I dont use popups for my personal sites. My client wants the popup to display the product info so that it won't divert the end user from the main page or search page full of products otherwise he may just close the browser instead and not continue. You may not understand this and may give various solutions for this but here in India the bandwith is real slow and traffic is real high. So Cos/business people having sites targeted for India normally make sure they try to have the page stay on for a long period of time. I know in us/europe you have real fast connections but the scenario is not the same in 3rd world countries.
Posted: Mon Aug 09, 2004 4:06 pm
by pickle
You could always say that popups take about 53% longer to load to to the javascript involved
Seriously though, your best bet is to connect the popup to a link. If the popup is unrequested, then it's irrelevant what's in the window - it's an evil popup and blockers will block them!! A lot of sites that do tie their popups to links, put a message in or near the link saying that it will open in a new window. Most people respond favourably to that.
What your client is asking for IS a popup, regardless of the content. If he disagrees, send him here and we'll argue with him

Posted: Mon Aug 09, 2004 11:37 pm
by d3ad1ysp0rk
Basically, tell him if he wants a pop up, he runs the risk of it getting blocked. But if it's ok to have the user click it, then it'll sort most the pop up blockers.
And if it's something like "Dont forget to sign up!" or types of reminders, etc, you can always use alert() if worst comes to worst..