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