How to install the Anti Copy Paste On the Blog
![]() |
Tipswong - Media Inspiration |
And is there some kind of antidote to copy and paste, namely :
Anti Copy Paste 1
Anti Copy Paste 1 is used only certain parts of it dipostingan that can not be copied. if you use Anti Copy Paste this one, then you are free to determine which parts can not or do not want to copy.
Copy the code below and place it above the code ]]></b:skin> atau </style>.
.do-not-copy {
-webkit-user-select:none;
-khtml-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
user-select:none;
}
-webkit-user-select:none;
-khtml-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
user-select:none;
}
For use in the post in HTML rather Compose mode.
<div class="do-not-copy">the content of your articles that do not want to copy and paste</div>
Anti Copy Paste 2
Anti Copy Paste 2 by adding the script into a template, create all the content of posts can not copy and paste.
Copy the code below and place it above the code </head> and save.
<script type="text/javascript">
if (typeof document.onselectstart!="undefined") {
document.onselectstart=new Function ("return false");
}
else{
document.onmousedown=new Function ("return false");
document.onmouseup=new Function ("return true");
}
</script >
if (typeof document.onselectstart!="undefined") {
document.onselectstart=new Function ("return false");
}
else{
document.onmousedown=new Function ("return false");
document.onmouseup=new Function ("return true");
}
</script >
Comments
Post a Comment