Custom script to disable back button pop-up alert

This project received 14 bids from talented freelancers with an average bid price of $71 AUD.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
$30 - $250 AUD
Total Bids
Project Description

Hi Guys,
Here is the scenario:

I buy in Google PPC traffic into landing page.
On the landing page I load a div overlay to capture email subscribers.

But many people see this and hit the 'back button' in their browser.

I want you to write me a script so that when the back button is clicked it simply removes the Div overlay and does not send the person back to Google.

I need this to work in IE, Chrome, Safari and Firefox.

I don't however want the dialog box to pop-up asking "Are You Sure You Want To Leave This Page"
I just want the div layer removed

Here is a demo of the journey [url removed, login to view]
it is the dialog box that appears when you click the 'back button' on the browser that I don't want to appear.

Please write your version of this process on your server so I can see it working.


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