Skip to content
Loading
  • +1
    have tried using this i am asking for a solution which will disable the entire back option it self this goeas back and again comes and gets retained
    +1
  • Mangesh G
    +1
    Hey sangeetha
     
    dont know if this is the full proof and how many browser supports u can try this
    1.   
    2.   
    3. Disable Back Button <span class="keyword">in</span><span> Browser - Online Demo  
    4. "text/css">  
    5. body, input {  
    6. font-family: Calibri, Arial;  
    7. }  
    8.   
    9. "text/javascript">  
    10. window.history.forward();  
    11. function noBack() {  
    12. window.history.forward();  
    13. }  
    14.   
    15.   
    16. "noBack();" onpageshow="if (event.persisted) noBack();" onunload="">  
    17. Demo

        
    18.   
    19. Click here to Goto "noback.html">NoBack Page

        
    20.   
    21.   
    try running this in ur browser and lemme know if it helps
    +1
  • +1
    i tried it its working bt is there anything which will disable the backbutton it should not be clickable
    +1
  • Mangesh G
    +1
    Sangeetha
     
    there is nothing 100% which we can do with the Browsers back button we have to go with this solution only and there is no standard which will work across browser from the safari to chrome to IE so stick to this option and move ahead 
     
    thanks 
     
    mark approved if it helps 
    +1
  • Gautam Parmar
    +1
    This page does list a number of ways you could try to disable the back button, but none are guaranteed:
     
    https://www.irt.org/script/311.htm
    +1