Forum Moderators: coopster
setTimeout("window.close()",5000);
Hope this helps :)
In IE6, you will be prompted that the script is trying to close the browser and asked if you want to allow it to close.
In FireFox and Netscape 7, it does nothing.
In Opera 8 and 9, it closes the current viewing tab regardless of if it is the only one open or not.
Hope it helps!
IamStang