Protect your HTML code by using encryption. Your website will be shown as normal but the HTML code will be encrypted by Javascript.
The process of encryption may increase the document size by a factor of 3-4.
Make sure that the encrypted code works before you publish it. Some advanced Javascript used in the document may fail after the encryption. It's suggested that you only encrypt code that you feel might be proprietary.
"; theform.ecode.value=codetocopy; theform.sac.disabled = false; } return false; } function sandc(thisform) { thisform.ecode.focus(); thisform.ecode.select(); copytext=thisform.ecode.createTextRange(); copytext.execCommand("Copy"); alert("Copied the Encrypted HTML Code to clipboard, you may now paste this into your website"); } function encrypt(tx) { var hex=''; var i; for (i=0; i