disbable back option by java script
Answers were Sorted based on User's Feedback
Answer / makya
window.history.go(+1) use in java script;
or
onunload =window.history.go(-1) in body tag
| Is This Answer Correct ? | 12 Yes | 6 No |
Answer / bharat
These codes are not suitable for disable Browsers back
button and Back Button on Mouse Right Click.
please write the code.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / gnana prakash
we can disable the right click using
<body oncontextmenu="return false">
</body>
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / gayathiri p
This code is correct for disable Back Button
<html>
<body onkeydown="if (event.keyCode==8) {event.keyCode=0;
return event.keyCode }">
</body>
</html>
| Is This Answer Correct ? | 2 Yes | 7 No |
What is the use of Push method in JavaScript?
How do you target a specific frame from a hyperlink in javascript?
How do I retrieve a cookie with a given name using a regular expression?
Difference between window, document, and screen in Javascript?
List out all the falsifying tokens in Javascript?
Can you explain the difference between call and apply?
How to get checkbox status whether it is checked or not?
What is the use of a boolean object in javascript?
When would you use javascript closures?
What does trim stand for?
How can javascript be used to personalize or tailor a web site to fit individual users?
How to write comment in JavaScript?