bigbenjam
11-18-2003, 05:53 PM
Hello everyone!
My problem is that i need to prevent the user from unwillingly leaving my site(if he/she clicked a link in outlook f.e.) So my site should detect if the user changes the url and if it has another domain(so url changes inside the site should be unnoticed) then a popup should appear which warns the user of leaving the site.
Has anyone a idea how to hadle that with nice little scipt? :)
thanks in advance!!
My problem is that i need to prevent the user from unwillingly leaving my site(if he/she clicked a link in outlook f.e.) So my site should detect if the user changes the url and if it has another domain(so url changes inside the site should be unnoticed) then a popup should appear which warns the user of leaving the site.
Has anyone a idea how to hadle that with nice little scipt? :)
thanks in advance!!