Results 1 to 3 of 3

Thread: Disbling all Browser Windows Back Button

  1. #1
    Join Date
    Sep 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Disbling all Browser Windows Back Button

    Dear dynamic drivers

    I want to diable the back button in all type of browsers using javascript code, plz provide the code sinppet as soon as possible.

    Sivakumar.N

  2. #2
    Join Date
    Aug 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Page A.htm calls Page B.htm

    User should not be allowed to go to Page A.htm from Page B.htm

    Put the code below in Page A.htm

    Code:
    <Script>
    window.history.forward(1);
    </Script>

  3. #3
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by n.nsiva
    I want to diable the back button ...
    Stop wanting that, then.

    If using the Back button breaks something, then change whatever process is involved so that it can handle the user moving back through the history.

    Even if you could disable the Back button, there will be people for which it won't work and they could still break your site.

    Mike

Bookmarks

Posting Permissions

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