Exit window script problem
I must have changed something, this use to work, and now it doesn't, what am I doing wrong?
<hahahahahahahaha
var exit = true;
function leave() {
if (exit) {
window.open('http://www.url.com');
}
}
</hahahahahahahaha
onUnload="leave()" onclick="exit=false">
|