Showing posts with label JavaScript. Show all posts
Showing posts with label JavaScript. Show all posts

How to hide your website source code?

Friday, July 29, 2011

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>
 

Most Reading

Sidebar One

+1-800-574-0902 +44-20-7993-2673 (ID: 173296)