How To: Discourage Visitors From Stealing Your Blog’s Content
Tired of protecting your content from scrappers? You have taken every measure to stop plagiarism from taking place, but of no avail. Don’t worry, today we’ll share with you a very easy method that will prevent scrappers/thieves from illegally stealing content from your blog.
This procedure is fairly simple. All you have to do is copy a piece of code and add it on your blog. Now when ever some one will come with the intention to steal your content and would press the right click mouse button. BANG!! He’ll get a function disabled message, thus discouraging him from stealing your content easily.
Disable Right Click Mouse Button
Log-in to your Blogger’s Dashboard, go to “Layout“, click “Add Gadget”, scroll down a little and look for “HTML/JavaScript”. A new window will pop out, copy paste the code shown below onto the HTML/JavaScript text box;
<script language=”JavaScript”>
<!–
//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
var message=”Function Disabled!”;///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){ alert(message); return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function(“alert(message);return false”)
// –>
</script>
Save the widget and close it. You’r Done! Now to see if it actually works or not; open your homepage (or any other page) and use the right click mouse button. You’ll be prompted with a ‘function disable‘ message.
Change Prompt Message
You can even change the message to suit your needs. In order to change the message, you will have to edit the above code. Follow the steps shown below:
1. Locate the sixth line from the beginning, namely;
var message=”Function Disabled!”;
Notice that it outputs a ”Function Disabled!” message; Now simply change the message to what ever you feel like. The final result would be;
var message=”The Right Mouse Function is Disabled!”;

Save the widget and preview the changes you have made.
PS: Although there is a way around this trick, but since its hard to implement, the scrapper will have no choice but to leave your blog unharmed.
Category: Blogging Tips
Properties : Blogging Tips
Posted on: 07 Jul 09
Related Templates
3 Comments For This Post
1 Trackbacks For This Post
-
How To: Discourage Visitors From Stealing Your Blog’s Content - Wordpress Themes (July 8th, 2009 at 11:43 am)
[...] To: Discourage Visitors From Stealing Your Blog’s Content Add How To: Discourage Visitors From Stealing Your Blog’s Content Author: [...]












Great idea. I’ve seen this implemented on a few sites before. They could probably still scrape the RSS feed though, couldn’t they?
Yes this is possible, but you can add content protection badges at the footer to discourage them.
this is all worth nothing.
and blogs of common interest are typically those that should be widely quoted to reach the people and get FAME. so why prevent quoting?
1. you don’t need right-clicking to copy a text unless highlighting is entirely disabled. all it does is annoying people who try to get the best of the browser: copying URLs, opening links in new tab, etc. and if someone _really_ wants to steal your work, they just disable JS for a little while and le voilá.
2. it is quite rude to assume that your reader and potential fan is a thief.
3. I’m sorry to disappoint you but thieves are far more interested in your credit card number than your meaning of life
4. the only thing you can prevent “theft” of literary work is unique style and topic that makes sense. if a number of people love your work and reckognize your style, it would be a very hard task for anyone to make them believe they could write _that_ piece of high quality.