How to Add a Source Link to Text Copied from your Website.

H

Content plagiarism has become a big problem on the internet. Its alright is somebody tries to use your idea and spin his own content. But there are people who just want to take a shortcut and they blindly copy content from one site and publish it on another. Well copying won’t do much good for them, but on the other hand your site might be penalized for google for duplicate content.
Whatever you try, its near impossible to stop anyone from copying content from your site. One way or another they will find a way to copy what they want. But what you can do is, you can add a source link or copyright note when someone tries to copy text from your website.
This way, if a person copies the text blindly, he will definitely not notice the source link that gets added to the copied text and you might very well get a free backlink to your copied post. In case a content scraper is copying your posts, then there’s no doubt that you’re going to get a free backlink.
Unfortunately these backlinks will do more harm to your blog than good, but if your site to be credited whenever someone copies content from your site, then you can add a javascript code to your blog’s theme which will automatically add a source link or copyright note with the copied text.
Here how you can add a source link or copyright note when someone copies a text.
All you need to do is, copy the following code, edit the green text and paste it in your WordPress theme’s footer. The following code was written by C.bavota.

<script type=”text/javascript”>
function addLink() {
var body_element = document.getElementsByTagName(‘body’)[0];
var selection;
selection = window.getSelection();
var pagelink = “<br /><br /> Read more at: <a href='”+document.location.href+”‘>”+document.location.href+”</a><br /> Copyright &copy; Techverse “; // change this if you want
var copytext = selection + pagelink;
var newdiv = document.createElement(‘div’);
newdiv.style.position=’absolute’;
newdiv.style.left=’-99999px’;
body_element.appendChild(newdiv);
newdiv.innerHTML = copytext;
selection.selectAllChildren(newdiv);
window.setTimeout(function() {
body_element.removeChild(newdiv);
},0);
}
document.oncopy = addLink;
</script>

That’s it, once the above javascript code is implemented on your blog, a source link or copyright text will be added to every copied text automatically.

About the author

lovejeet

Add Comment

By lovejeet

lovejeet

Get in touch

Quickly communicate covalent niche markets for maintainable sources. Collaboratively harness resource sucking experiences whereas cost effective meta-services.