View Single Post
Old 02-15-2009, 06:03 AM  
rhcp011235
Confirmed User
 
rhcp011235's Avatar
 
Industry Role:
Join Date: Sep 2007
Location: North Carolina
Posts: 538
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?
__________________
Skype rhcp011235 | Cell Phone 212.812.9043 | Email [email protected]
rhcp011235 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote