This is a random Chinese website http://www.soap-china.com/index.asp
I noticed that right click is disabled. I always have JavaScript off, so I started delete node by node, css line by line in Firebag, but didn't find out what is disabling right click.
How does it work?
This is not first time I see this, so I am curious about this trick.
Disable right click menu in html page using jquery. JavaScript Code: $(document). bind("contextmenu",function(e){ return false; });
bind('copy paste',function(e) { e. preventDefault(); return false; });
It is pointless It does not protect your source code, images, or content. Disabling right-click and Ctrl+U will get users curious, wanting to know what it is exactly that you want to hide. This will end up being counter-productive to you as your images and source code will attract the attention of the tech survey.
On the body Tag do this:
<body oncontextmenu="return false">
...
</body>
It is done with javascript.
I have disabled javascript and I can right-click. It disables with:
<script language="JavaScript">
document.oncontextmenu =new Function("return false;")
</script>
<body onselectstart="return false">
There might be an issue with your browser, the site is online for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With