Have you found your blog work COPIED somewhere?

Thanks to Hafeez Khan, I managed to disable RIGHT CLICK feature to protect my blog content today. I’m so sorry to use this trick. But, you know it is so annoying to find your work copied somewhere without your permission or referring to your name. If you want to prevent others from copying and pasting your work, please follow the steps below:

1. From your blog dashboard, go to “Layout”.

2. Click “Add a Gadget” to select one for the code.

3. Choose “HTML/JavaScipt” gadget.

4. Copy the following code and paste it in the content box of the gadget.   

    NOTE: As copying is disabled now, please click here to get the code.

var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}

   This code is shared by Hafeez Khan (To see his post, please click here!)

5. Don’t forget to click save. 

6. If you care about your blog’s appearance, please drag this gadget to the footer.

Reference:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s