Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Determining when a person leaves your domain
- From: jmays at websurveyor.com (Jessica Mays)
- Subject: [Javascript] Determining when a person leaves your domain
- Date: Wed Jun 22 08:03:58 2005
Hi all, In JavaScript is it possible to determine when a person leaves your domain? I have a function that will go off on onunload that brings up an confirm box that I can turn off if a person uses a link that I have a little bit of JavaScript on. But if the person uses their back button, address bar to a local page, or refreshes the page it still goes off. Goal: to be able to check if they are going to a page on your site (then no confirm box) or off of your site (then a confirm would appear) Thanks! ------------------------- Jessica Mays Graphic Designer WebSurveyor Corporation
- Follow-Ups:
- [Javascript] Determining when a person leaves your domain
- From: Mike Dougherty
- [Javascript] Determining when a person leaves your domain
- Prev by Date: [Javascript] A loop this this script?
- Next by Date: [Javascript] Determining when a person leaves your domain
- Previous by thread: [Javascript] Need help determining when remote window closes.
- Next by thread: [Javascript] Determining when a person leaves your domain
- Index(es):