Several web sites turn off the ability of right-click on there pages. Web administrators are using this to protecting their web pages from unauthorized copying. This is very common in past, but still there are lots of sites using this to protect copying there content by others. They use simple JavaScript to disable the ability of right-clicking on there web pages. Here I’m going to show you a very simple way to turn this function ON.
When ever you visiting offending website type the code in red below in the browser URL bar, with the most cases this will work perfectly and enable you to write click on any web page and do what ever you want.
“ javascript:void(document.oncontextmenu=null) “
Below are two types of that can be used in web sites to prevent copying of content.
code #1
Several web sites turn off the ability of right-click on there pages. Web administrators are using this to protecting their web pages from unauthorized copying. This is very common in past, but still there are lots of sites using this to protect copying there content by others. They use simple JavaScript to disable the ability of right-clicking on there web pages. Here I’m going to show you a very simple way to turn this function ON.
When ever you visiting offending website type the code in red below in the browser URL bar, with the most cases this will work perfectly and enable you to write click on any web page and do what ever you want.
“ javascript:void(document.oncontextmenu=null) “
Below are two types of that can be used in web sites to prevent copying of content.
code #1
<script language="JavaScript"><!-- var message= "RIGHT CLICK HAS BEEN DISABLED"; function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(message);return false;}}} if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;} document.oncontextmenu=new Function("return false") // --></script>
code #2
<script type="text/javascript">var msg = "Right Click is Disabled";if(document.layers) window.captureEvents(Event.MOUSEDOWN);function no_click(e){if (navigator.appName == 'Netscape' && ( e.which == 2 || e.which == 3)){alert(msg);return false;}if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)){alert(msg);return false;}}window.onmousedown=no_click;document.onmousedown=no_click; </script>
For code #2 you can hold the right mouse button and hit enter to close the warning dialog box, and then release the right mouse button.
So the next time you encounter this protection, you know how to crack it
No comments:
Post a Comment