Disabling right-click on your webpage or in your HTA forms and splash screens
You should insert the following code in the head of your HTML document, between the <HEAD></HEAD> tags.
<SCRIPT LANGUAGE="JavaScript"> <!-- Disable function disableselect(e){ return false } function reEnable(){ return true } //if IE4+ document.onselectstart=new Function ("return false") document.oncontextmenu=new Function ("return false") //if NS6 if (window.sidebar){ document.onmousedown=disableselect document.onclick=reEnable } //--> </script>