Pages

Friday, July 29, 2011

How to hide your website source code?

Use this java script to hide your website source code, this script will work best if you placed within the head tags of the html.

<SCRIPT language=JavaScript><!-- http://www.way2learning.net --> var message = "function disabled by owner"; function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){ alert(message); return false; } if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { alert(message); return false; } } document.onmousedown = rtclickcheck;</SCRIPT>

No comments:

Post a Comment