Exit confirmation box?

Discussion in 'PHP' started by mynameisdi, Mar 5, 2009.

  1. #1
    Check this site out BeatEczema.com and try to close your browser.

    If you click on cancel, it actually redirects you to another page

    How can you do that?
     
    mynameisdi, Mar 5, 2009 IP
  2. Riverofrhyme

    Riverofrhyme Peon

    Messages:
    137
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
  3. creativeGenius

    creativeGenius Well-Known Member

    Messages:
    273
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    120
    #3
    well it's a bit obtrusive but it could be useful if used accordingly
     
    creativeGenius, Mar 5, 2009 IP
  4. plog

    plog Peon

    Messages:
    298
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    0
    #4
    No. It's evil, evil, evil.

    Call me old fashioned, but I want my back button to work, to not be prompted to bookmark a page and to be able to close my own browser when I want to.

    Also, I am pretty sure all of those are in the Geneva Convention.
     
    plog, Mar 5, 2009 IP
  5. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #5
    That should be javascript. I never click the link tho.

    - ads2help
     
    ads2help, Mar 5, 2009 IP
  6. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #6
    When a web site does that to me, I make a mental note never to visit it again.
     
    SmallPotatoes, Mar 5, 2009 IP