- Need help for exit script
- Posted by Billyblu on February 23rd, 2004
I would like to put on my page a script that redirect user, when left
it, to a random url from a list of urls.
This javascript code (listed below) call the exit page, but I don't
know which cgi script I have to use. Anyone can help me?
Thanks in advance for your cooperation.
Regards.
------------
Andrea
<SCRIPT language="Javascript">
<!-- BEGIN EXIT CODE
var console=true;
function exit()
{
if (console)
open('http://www.mysite.com/cgi-bin/exit.cgi);
}
// END EXIT CODE -->
</SCRIPT>
- Posted by Matt Probert on February 23rd, 2004
On 23 Feb 2004 04:31:05 -0800 dismu@aruba.it (Billyblu) broke off
from drinking a cup of tea at http://groups.google.com to write:
Try:
<SCRIPT language="Javascript">
<!-- BEGIN EXIT CODE
var console=true;
function exit()
{
if (console)
open('http://www.mysite.com');
}
// END EXIT CODE -->
</SCRIPT>
(Though I should stress, your site will be visited only once by any
person, and will be quickly blacklisted - exit pop-ups are as popular
as a Palestinian suicide bomber in a synagogue).
Matt
--
A massive matrix of concise, interlinked encyclopaedia information.
For when you just want to know, quickly and easily.
http://www.probertencyclopaedia.com


