Anyone have a exit pop that works?

sumohax0r

what that be like?
Nov 1, 2009
740
41
0
127.0.0.1
I've tried about 10 different ones now, and none of them work with the new Chrome, IE or Firefox.

only older versions work.

I can open a new tab, but not a new window.

Halp plz?

tumblr_lmyje5Zlka1qaccaro1_400.jpg

tumblr_lmhwga1L8f1qaccaro1_400.png

tumblr_lmux84MJEC1qaccaro1_400.jpg

tumblr_lmlo14Qrb51qaccaro1_400.jpg
 


<script type='text/javascript' language='javascript'> <!-- __FireOnBreak__ = true; function __ScriptOnBreak() { if (__FireOnBreak__) { } } function __ScriptOnLoad() { } function __ScriptOnPageSubmit() { return true;} var onBeforeUnloadEnabled = true; function __ScriptOnBeforeUnload() { if(onBeforeUnloadEnabled){ onBeforeUnloadEnabled = false; window.location='exitpage.html'; return '-----------------------\x0a\x0aWAIT\x21 Before you leave, CLICK CANCEL for a\x0ayour FREE GIFT\x21 \x0a\x0aCLICK CANCEL BELOW \x0a\x0a-----------------------'; } } --> </script>

replace exitpage.html with your exit pop then put this in your body statement
<body onload="__ScriptOnLoad();" onunload="__ScriptOnBreak();">
 
Eli, do both scripts go within the body tags? Or the first one in the head and second in the body tag? I tried each way, couldn't get it to work though in Dreamweaver when previewing a page (could be the problem)