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:30:05 2005
Annoyance is one of the reasons I want to make this come up as little as possible. And this is for a survey so the confirm box just asks if you would like to survey or not and if no you go on your merry way and if you say yes you are sent to the survey. This is an simple opt-in, and I am trying to keep annoyance to the lowest level possible. ------------------------- Jessica Mays Graphic Designer WebSurveyor Corporation Tel.: ?703.481.9326 x.248 -----Original Message----- From: javascript-bounces@xxxxxxxxxx [mailto:javascript-bounces@xxxxxxxxxx] On Behalf Of Mike Dougherty Sent: Wednesday, June 22, 2005 9:28 AM To: [JavaScript List] Subject: Re: [Javascript] Determining when a person leaves your domain fwiw: I usually am so annoyed by this practice that I would never return to your site. Imagine trying to leave a real-world store and being pestered by the cashier with "Why are you leaving?" I would suggest you spend more effort on keeping people interested in your site, than to bug them with more annoying behavior as they try to leave. If you're doing a survey to improve the site, let people choose it voluntarily through an easily visible link. You'll probably get better information than from people who have already tried once to leave... On Wed, 22 Jun 2005 09:03:48 -0400 "Jessica Mays" <jmays@xxxxxxxxxxxxxxx> wrote: >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 >_______________________________________________ >Javascript mailing list >Javascript@xxxxxxxxxx >https://lists.LaTech.edu/mailman/listinfo/javascript > > >__________________________________________________________ >This message was scanned by ATX >9:04:20 AM ET - 6/22/2005 _______________________________________________ Javascript mailing list Javascript@xxxxxxxxxx https://lists.LaTech.edu/mailman/listinfo/javascript
- Follow-Ups:
- [Javascript] Determining when a person leaves your domain
- From: Matt Barton
- [Javascript] Determining when a person leaves your domain
- Prev by Date: [Javascript] Determining when a person leaves your domain
- Next by Date: [Javascript] Determining when a person leaves your domain
- Previous by thread: [Javascript] Determining when a person leaves your domain
- Next by thread: [Javascript] Determining when a person leaves your domain
- Index(es):