Script to get people to leave my site?

Discussion in 'HTML & JavaScript' started by JessyCavalari, Aug 2, 2012.

  1. JessyCavalari

    JessyCavalari Registered Member

    Joined:
    Jun 28, 2011
    Messages:
    50
    Likes Received:
    20
    Hello,
    I'm looking for a script similar to a wordpress plugin for cookies entitled 'Cookie Warning'

    Basically, a box pops up when a user visits the site and asks if they want to stay or return to the previous page.
    Does such a script exist in HTML / JS ?

    (it probably does but I don't know what it's called so am having trouble finding it)
    Thanks!
     
  2. godmonkee

    godmonkee Regular Member

    Joined:
    Jan 12, 2009
    Messages:
    396
    Likes Received:
    769
    Occupation:
    IM
    Location:
    Gallifrey
    I'm sure it would be really easy to write a javascript popup at the start of the page. A simple alert where one button takes you back to the previous page.

    Try looking up 'javascript popup' in G00gle.
     
    • Thanks Thanks x 1
  3. JessyCavalari

    JessyCavalari Registered Member

    Joined:
    Jun 28, 2011
    Messages:
    50
    Likes Received:
    20
    Thanks for that :) - In the end I think i'll just use a different web page to do it ; I researched them further and a HTML page would suit my needs better
     
  4. Blackberry_11

    Blackberry_11 Regular Member

    Joined:
    Apr 17, 2011
    Messages:
    266
    Likes Received:
    19
    I do not have much experience about this but i obviously wanna know about this. This really would be very useful tool to use. So try to do properly.