Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Javascript to detect popup blockers
Message
Information générale
Forum:
Internet
Catégorie:
Browsers
Titre:
Javascript to detect popup blockers
Divers
Thread ID:
00967858
Message ID:
00967858
Vues:
63
Hello UT,

We are using window.open() and window.showmodaldialog() in our web application. With that, we can have a desktop-like look and feel for web application (you can have a look at http://www.xicommunity.ca).

I would like to detect if the user has a popup blocker installed so I could warn him about it so he can add our site to his popup blocker whitelist.

I can easily detect that by using this kind of function :
function IsPopupBlocker() {
	var oWin = window.open("","testpopupblocker","width=1,height=1,top=5000,left=5000");
	if (oWin==null || typeof(oWin)=="undefined") {
		return true;
	} else {
		oWin.close();
		return false;
	}
}
However, it can successfully detect GoogleBar and WinXP SP2... but NOT Yahoo! Toolbar.

Does anyone know how to detect Yahoo! Toolbar's popup blocker?

Thank you,

Alex
Alexandre Boudreault-Ferland
Chief Technology Officer
AZUR Technologies
http://www.xicommunity.ca
http://www.xiazur.com
http://endfunction.blogspot.com
Répondre
Fil
Voir

Click here to load this message in the networking platform