Javascript Exit Alert Script (simple)

This project was successfully completed by AntonBliznetc for $10 USD in a day.

Get free quotes for a project like this
Project Budget
$10 - $30 USD
Completed In
1 day
Total Bids
Project Description

I have a script that loads websites in a frame, the page stays the same while ? tags are dynamic for instance [url removed, login to view] [url removed, login to view] [url removed, login to view]

I need an exit pop / alert that will trigger to prevent the user from leaving the [url removed, login to view] script. You have seen these like "Are you sure you want to leave this page?" The [url removed, login to view] script needs to be able to progress without the alert appearing but if trying to navigate to anything other than [url removed, login to view] the alert would appear. Simply put if I refresh the [url removed, login to view] no alert would appear but if I try to navigate to [url removed, login to view] from the page it will give the alert.

I will provide more details for whoever is selected.

Completed by:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online