I want to disable all the option,

which inlcude

using right click and select back,
pressing the backspace button on keyborad
and the back option on above menu to be disabled.
and other ways of going back to previous page.

Is there a way to do that using JS.