Results 1 to 7 of 7

Thread: How to clear browser's back-button sites?

  1. #1

    Thread Starter
    Fanatic Member arsmakman's Avatar
    Join Date
    Dec 2001
    Location
    Leiden, Netherlands.
    Posts
    719

    How to clear browser's back-button sites?

    Hello,

    I want to clear the history of a browser thru an html page, so people cannot use the back button any more as long as they're on my site.

    I don't care in what language it is (html, perl, php, javascript, whatever) as long as it works for all browsers

    Thanx a lot
    No matter how fool-proof your program is, there will always be a better fool.

    Was a post helpful to you? Rate it!

  2. #2
    PowerPoster Evil_Giraffe's Avatar
    Join Date
    Aug 2002
    Location
    Suffolk, UK
    Posts
    2,555
    And you would want to break the functionality of their browser because...?
    The Back button is an integral part of the navigation model of the web. Disabling it to force people to stay on your site is a surefire way to get people to never come back. It also suggests your content isn't good enough to make them want to stay on their own.

    And in answer to your question, no there won't be a solution that will work for all browsers. The thing about the internet is that it's a client/server environment. You cannot, from the server, dictate how the client interprets and renders/displays/outputs what you send to it.

    edit: typo

  3. #3

    Thread Starter
    Fanatic Member arsmakman's Avatar
    Join Date
    Dec 2001
    Location
    Leiden, Netherlands.
    Posts
    719
    Originally posted by Evil_Giraffe
    And you would want to break the functionality of their browser because...?
    The Back button is an integral part of the navigation model of the web. Disabling it to force people to stay on your site is a surefire way to get people to never come back. It also suggests your content isn't good enough to make them want to stay on their own.

    And in answer to your question, no there won't be a solution that will work for all browsers. The thing about the internet is that it's a client/server environment. You cannot, from the server, dictate how the client interprets and renders/displays/outputs what you send to it.

    edit: typo
    I'm trying to create this big html-maze, with cetain room that are a dead end, I don't anyone to escape from there using their back-button.
    No matter how fool-proof your program is, there will always be a better fool.

    Was a post helpful to you? Rate it!

  4. #4
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196
    For your links use the location.replace() method
    this replaces the current document with a new one without
    creating a new entry in the browser's session history

  5. #5
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    Use a Flash Movie...
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  6. #6

    Thread Starter
    Fanatic Member arsmakman's Avatar
    Join Date
    Dec 2001
    Location
    Leiden, Netherlands.
    Posts
    719
    Originally posted by DeadEyes
    For your links use the location.replace() method
    this replaces the current document with a new one without
    creating a new entry in the browser's session history
    Thanx.

    Originally posted by punkpie_uk
    Use a Flash Movie...
    Euhm... No.
    No matter how fool-proof your program is, there will always be a better fool.

    Was a post helpful to you? Rate it!

  7. #7
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    Euhm... No.
    Good answer I agree....
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width