Today many of the websites are suffering by privacy , there templates are copied by other websites and that too can not be traced out .
There source code is easily seen through the browser , there are many practice done to hide the source code but really non of them is successful .
One of the most used practice is to encrypt the source code but it could be decrypted very easily since our browser needs to read the code , so it can be seen.
Other type of practice is disabling the right click on the page source so as to avoid copy directly , but that too have an alternative One could save it to his/her computer then use the copy function.
JavaScript used disable right click on source code is :
<script type="text/javascript> var message="You can't see the page code" function click(e) { if (document.all) { if (event.button==2||event.button==3) { alert(message); return false; } } if (document.layers) { if (e.which == 3) { alert(message); return false; } } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=click; </script> |
Enjoy ..... :)
2 comments:
You can also turn off the java script in browser. :(
Yea that's too another way...
I think there must be a technology advancement so as to tackle this problem ....
Post a Comment