Exit Redirect/Onbeforeunload Redirect Custom Script

In Progress

I need a script that will pop a custom browser alert message (example: “Thank you for visiting”) and then after the user closes the custom browser alert message box the browser will then ask the user if they want to stay on the page or leave the page. If they choose to stay on the page, they stay on it. If they choose to leave the page the user gets redirected to another page in the same window (“window.location.href='[url removed, login to view]';). The script must start/execute when the user tries to close the window or tab. [url removed, login to view] homepage is an example of what I am looking for, BUT when the users clicks leave the page it must redirect using (“window.location.href='[url removed, login to view]';). Exitsplash uses some ifames or something like that, that’s NOT what I want. Go to [url removed, login to view] try to close the window and you will see how I want it to work. I need the script to work in all major browsers fire fox, internet explorer, chrome, safari and hopefully opera. To whoever takes the job, keep in mind when making the script, browsers do update so make the script where is browser friendly and etc. Thank you for your time and I am looking forward to someone helping me with this small project.

Skills: Javascript

See more: onbeforeunload redirect, chrome onbeforeunload redirect, job fox, fox com, fox 9, fox in a box, exit, onbeforeunload custom message, http redirect page, script alert, job alert script, chrome update javascript, http redirect, script exit redirect, pop tab window, browser redirect script chrome, browser redirect, chrome tab homepage, window pop chrome, chrome javascript update, script alert script, tab homepage opera, pop chrome work, chrome pop, javascript update chrome

About the Employer:
( 3 reviews ) san antonio, United States

Project ID: #4709195

Awarded to:

vnjoom

Let me do it. done quickly

$30 USD in 3 days
(2 Reviews)
2.1

3 freelancers are bidding on average $28 for this job

thanhhungqb

Hi, I am ready to start right now, please see pmb for details, thanks.

$30 USD in 1 day
(3 Reviews)
3.0
aashu11

Hi Helpxoxo, I have 3+ working experience of web development. I am interested in this work. Please accept my Bid Thanks

$25 USD in 3 days
(0 Reviews)
0.0