Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


disbable back option by java script

Answers were Sorted based on User's Feedback



disbable back option by java script..

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

disbable back option by java script..

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

disbable back option by java script..

Answer / sree ramanjaneya

Thanks to..Makya
and Gayathiri P

Is This Answer Correct ?    1 Yes 1 No

disbable back option by java script..

Answer / gnana prakash

we can disable the right click using

<body oncontextmenu="return false">
</body>

Is This Answer Correct ?    2 Yes 2 No

disbable back option by java script..

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

Post New Answer



More JavaScript Interview Questions

What are the types used in javascript?

0 Answers  


How to convert a string to a number using javascript?

0 Answers  


What is meant by vanilla javascript?

0 Answers  


Is javascript or python easier?

0 Answers  


What would be the result of 3+2+”7″?

0 Answers  






Can I declare a variable as CONSTANT in JavaScript?

0 Answers  


List some data types supported by javascript?

0 Answers  


Where can I learn javascript for beginners?

0 Answers  


What is a name function in javascript & how to define it?

0 Answers  


What is triple dot in javascript?

0 Answers  


What is the similarity between the 1st and 2nd statement?

0 Answers  


What is javascript tree shaking?

0 Answers  






Categories