Disable Right Click on Your WordPress Blog

Stealing content or scrapping of a site is the most common problem facing by bloggers. We work hard day and night to provide most useful and valuable content to our readers and without any permission scrapper copying your content and publishing in their. If you can catch the content thief then you can do two things. Either you can report to Google or you can say the thief to add a link back to your site which might carry good SEO purpose. Or just simply disable copy paste from your site. Here is how you can disable right click on your WordPress blog.

By Using Plugin:

You can use a great plugin developed by chetangole.com. Get tit from here. After installing it go to settings menu and select the right settings for your site:


Without Using Plugin:

If you don’t want to use plugin then just paste the followin code just before closing </head>:


<script type="text/javascript">
function clickIE4(){
if (event.button==2){
return false;
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
return false;

if (document.layers){
else if (document.all&&!document.getElementById){

document.oncontextmenu=new Function("return false")
// –>

<script type="text/javascript">

function disableSelection(target){
if (typeof target.onselectstart!="undefined") //For IE
target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //For Firefox
else //All other route (For Opera)
target.onmousedown=function(){return false}
target.style.cursor = "default"



Author: mytutorialguru

Share This Post On

Submit a Comment

Your email address will not be published. Required fields are marked *