jQuery plugin helps you to prevent copy and paste





This jQuery plugin helps you to prevent copy and paste of your post content from your blog. This mainly helps you to avoid someone from copying the your quality content.
This is very simple to add this in your blog. Just follow few steps to add it.

STEP 1:
Add following jQuery plugins in the head (<head> </head>)section of the html home page.
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'></script>
<script src='https://dl.dropboxusercontent.com/u/49791983/disableSelection.js'></script>

STEP2:
Now add following script just below that.
<script>
$(document).ready(function(){
$('body').disableSelection();
});
</script>
Note: Add this jQuery library only if you never add it before in your page.
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'></script>





If you felt any difficulty implementing this please leave the comments.



Post a Comment

0 Comments