Been doing some tinkering on Google and happened by this nifty peice of code which claims to stop several of the most popular pop-up blockers including the Google one..
PHP Code:
<script language="JavaScript">
<!--
var exit=0;
function stopError() {
return true;
}
window.onerror = stopError;
//var exit=0;
function blocker() {
if(exit == 0) {
window.open("http://www.domain.com/console.html","exitr","toolbar=no,scrollbars=no,menubar=no,location=no,width=200,height=200"); }
}
// -->
<!--NoConsoleOnMembers
document.domain = document.domain.substring(document.domain.indexOf('.')+1);
// -->
</script>
<body OnUnload="blocker();">
I beleive someone was asking about a code to stop popup blockers recenty (Fister maybe?) so figured i would share this :groovy:
Let me know how it works out for you
Regards,
Lee
Bookmarks