✮Multiple features in protecting your site/blog content from being copied illegally. Some of the most common copy methods, such as right-click, image dragging, and keyboard copy shortcuts, such as CTRL A, C, X, U, and P are disabled

Basic Features:

✮iFrame Protection
✮Disables right click function on mouse
✮Disables image drag and drop functionality
✮Disables keyboard copy commands (CTRL A, C, X, U, P) select     
all|copy|paste|print|view source

✮Disables 'Hold to Copy' function on most mobile devices
✮Displays a client-side error message when Javascript is disabled in user's browser
✮The image link URL is automatically removed and defaulted to the 'none' setting in your image upload settings (deters image theft)


Instruction:
Copy and paste the code between <head> tags.


<div align="center"><noscript>
   <div style="position:fixed; top:0px; left:0px; z-index:3000; height:100%; width:100%; background-color:#FFFFFF">
   <div style="font-family: Tahoma; font-size: 14px; background-color:#FFF000; padding: 10pt;">Please enable your Javascript to see this page as it is meant to appear!</div></div>
</noscript></div>

<script type="text/javascript">
window.onload = function() {
    disableSelection(document.body)
}

function disableSelection(target){
if (typeof target.onselectstart!="undefined")
    target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined")
    target.style.MozUserSelect="none"
else 
    target.onmousedown=function(){return false}
target.style.cursor = "default"
}
</script>

<script type="text/javascript">
function mousedwn(e) {
try { if (event.button == 2||event.button == 3) return false; }
catch (e) { if (e.which == 3) return false; }
}
    document.oncontextmenu = function() { return false; }
    document.ondragstart   = function() { return false; }
    document.onmousedown   = mousedwn;
</script>

<script type="text/javascript">
if (top.location != self.location) top.location.replace(self.location);
</script>

<style type="text/css">
* : (input, textarea) {

    -webkit-touch-callout: none;
    -webkit-user-select: none;

}

img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;        
    }
</style>

<script type='text/javascript'>
window.addEventListener("keydown",function (e) {
    if (e.ctrlKey && (e.which == 65 || e.which == 67 || e.which == 85 || e.which == 80)) {
        e.preventDefault();
    }
})
        document.keypress = function(e) {
        if (e.ctrlKey && (e.which == 65 || e.which == 67 || e.which == 85 || e.which == 80)) {
    }
        return false;
                };
</script>


For Wordpress users:
1. Go to plugins
2. Click Add New
3. Search and install "WP Content Copy Protection"

0 comments:

Post a Comment