|
Very nice work. I noticed it does not work for safari.
I was fooling around and i noticed safari has a window.location.href bug.
var is_safari = /safari/.test( navigator.userAgent.toLowerCase() );
if (is_safari)
{
window.onunload = function ()
{
newwindow=window.open(popURL,'name','height=200,wi dth=150');
window.open("about:blank","","width=600");
if (window.focus) {newwindow.focus()}
}
}
}
Will trigger the pop. BUt, the blocker gets it. Anyone know a way around?
|