GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   anyone have an unblockable exit... (https://gfy.com/showthread.php?t=577470)

moneybiz 02-18-2006 11:49 AM

anyone have an unblockable exit...
 
pop up code they would care to share?

SmokeyTheBear 02-18-2006 11:56 AM

Code:

<html><head>
<script language="javascript"><!--
var nid=0;
var tid=431;
var mid=947;
var full=1;
var popDialogOptions = "dialogWidth:800px; dialogHeight:600px; dialogTop:0px; dialogLeft:0px; edge:Raised; center:0; help:0; resizable:1; scroll:1; status:0";
var popWindowOptions = "scrollbars=1,menubar=1,toolbar=1,location=1,personalbar=0,status=1,resizable=1";
var exit = true;
var usePopDialog = true;
var isUsingSpecial = false;
function normal_exit(){
if(exit && !isUsingSpecial) {
exit = false;
window.open(popURL,"",popWindowOptions);}}
--></script>
<script language="javascript">
var isXPSP2 = false;
var u = "6BF52A52-394A-11D3-B153-00C04F79FAA6";

//--------------------------------------------------------------------------------

function ext()
{
      if(exit)
      {
              exit=false;
             
              if(!isXPSP2 && !usePopDialog)
              {
                        window.open(popURL,"",popWindowOptions);
              }
              else if(!isXPSP2 && usePopDialog)
              {
                        eval("window.showModalDialog(popURL,'',popDialogOptions)");
              }
              else
              {
                        iie.launchURL(popURL);
              }
        }
}

//--------------------------------------------------------------------------------

function brs()
{
    document.body.innerHTML+="<object id=iie width=0 height=0 classid='CLSID:"+u+"'></object>";
}

//--------------------------------------------------------------------------------

function ver()
{
    isXPSP2 = (window.navigator.userAgent.indexOf("SV1") != -1);
    if(isXPSP2) brs();
}

//--------------------------------------------------------------------------------
var popURL = 'http://www.yahoo.com';
isUsingSpecial = true;
eval("window.attachEvent('onload',ver);");
eval("window.attachEvent('onunload',ext);");

//--------------------------------------------------------------------------------
</script>
</head>
<body>
<center> EXIT POPUP
</body></html>


moneybiz 02-18-2006 12:38 PM

nice1 buddy!!!!!!!

moneybiz 02-18-2006 01:36 PM

how do you make it soo it only loads when the page is closed when Link on the page is clicked?

SmokeyTheBear 02-18-2006 01:39 PM

onclick="exit=false" on links where you dont want it to set it off

SmokeyTheBear 02-18-2006 01:41 PM

or you could do <base target="_blank"> in your head , and make all links open in a new window then the links wont set off the popup

SmokeyTheBear 02-18-2006 01:44 PM

or perhaps i misundertood what you wanted ?

moneybiz 02-18-2006 02:16 PM

na man thanks for the help!

Phil 02-19-2006 01:46 PM

Anybody getting e-mails from mikeyandmandy.com ???
 
thanks. it works


All times are GMT -7. The time now is 05:13 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123