Commonly used anti copy code for web pages
<script type="text/javascript">document.body.oncontextmenu=document.body.ondragstart= document.body.onselectstart=document.body.onbeforecopy=function(){return false;}; document.body.onselect=document.body.oncopy=document.body.onmouseup=function(){document.selection.empty();};</ script>
<script language="JavaScript"> document.oncontextmenu=new Function("event.returnValue=false;"); document.onselectstart=new Function("event.returnValue=false;"); </script>
<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0" oncontextmenu="return false" ondragstart="return false" onselectstart ="return false" onselect="document.selection.empty()" oncopy="document.selection.empty()" onbeforecopy="return false" onmouseup="document.selection.empty()"> <noscript><iframe src="/blog/*>";</ iframe></noscript>
oncontextmenu="window.event.returnvalue=false" <table border oncontextmenu=return (false)><td>no</table>//Available for Table
<body onselectstart="return false">
onpaste="return false"
oncopy="return false;" oncut="return false;"
<SCRIPT LANGUAGE=javascript><!-- if (top.location != self.location)top.location=self.location; // --></SCRIPT>
<noscript><iframe src="/blog/*.html>";</ iframe></noscript>
<a href=" https://www.toyean.com/ "OnMo...; window. status='Inter the content displayed in the connection status bar’; return true">
<a href="javascript: void (0)" onMouseDown="alert ('Sorry! Pictures can't be downloaded! ')"><img src="Picture address" alt=""/></a>
<body onkeydown="KeyDown()" onbeforeunload="location=location" oncontextmenu="event.returnValue=false"> <script language="Javascript"><!-- function KeyDown(){ if ((window.event.altKey)&& ((window.event.keyCode==37)|| (window. event. keyCode==39) {alert ("Please visit my homepage") event.returnValue=false; } If ((event. keyCode==8) | | (event. keyCode==116)) {//Block the F5 refresh key event.keyCode=0; event.returnValue=false; } If ((event. ctrlKey)&&(event. keyCode==78)) {//Shield Ctrl+n event.returnValue=false; } If ((event. shiftKey)&&(event. keyCode==121)) {//Shield shift+F10 event.returnValue=false; } } </script> </body>