PDA

View Full Version : exit



Kurupt!oN
07-18-2002, 07:49 AM
I have stumbled across some porn sites "accidently" and I saw that they have an "ENTER" and "EXIT" on their main page after all the legal mambo jambo. I notice that the "ENTER" takes you to the porn heaven, while "EXIT" just sends you to another site. I was wondering if there is a code out there where you can click "EXIT" and close the page as if you click "X" on the right hand corner of your Internet Explorer. Thank you in advance for your generosity and prospare.

jkd
07-18-2002, 08:51 AM
<a href="javascript:window.close()">Close window</a>

oracleguy
07-18-2002, 11:00 PM
Originally posted by jkd
<a href="javascript:window.close()">Close window</a>

There will be a warning dialog that will come up (In IE6 only.. i think) saying that the page is attempting to close the window and ask if you'd like to continiue.

Except if you webpage opened it. Like you had a little pop-up that had that code on it.


FYI.