Content plagiarism has become a major problem for every webmaster & blogger. Content writers and authors work day & night to generate quality content for their website readers, blog subscribers and of course also for Google Panda algorithm. But some people try to take a shortcut and want to become a successful blogger without doing any hard work. They steal others copyrighted materials and publish that on their own sites, books, and magazines without giving any credit and backlink to the original author and page source. Well, to fighting content theft, here I am going to show you that how to automatically append Attribution Link of source page or add Copyright Notice just below the copied text whenever somebody copies text from your websites or blogs.

Copied text and other materials from a website don’t help the plagiarism in gaining PageRank, visitors & readers, however, on the other hand, their sites might be penalized by Google algorithm updates for content theft and content duplicacy.

Technically, when a person uses copyrighted contents like text, images, and videos from a website, they suppose to provide a credit link to the source website. However most of the people just ignore this and they get punished for deliberate plagiarism act by Google, Bing, Yahoo and other search engines.

You can’t stop anyone from copying content from your websites until and unless you use a professional content protector plugin like Smart Content Protector – Pro WP Copy Protection by Envato Market sites.

About Smart Content Protector Plugin

Smart content protector is the WordPress plugin to protect your copyright contents – text and images. To avoid plagiarism, it is recommended to make sure the text and picture are not being copied by anyone from your website.

Smart Content Protector

This is one of the best WordPress plugins to fight with content thefts and has numbers of key features like it disables keyboard shortcuts for Copy (Ctrl+C), Cut (Ctrl+X), Paste (Ctrl+V), Select All (Ctrl+A), Save as (Ctrl+S), Print Screen shortcut keys & Mouse Right Click.

Smart Content protector also disable image dragging and dropping, hence it protects link contain image extension. It supports popular operating systems – Windows, Linux, MAC OS X and internet browsers – Firefox, Chrome, Opera Mini, Internet Explorer.


envato market

Only at $19


Following are some other features of this WP plugin.

  • Automatic Image Watermark and append Copyright disclaimer to the copied text.
  • Advanced Image Protection via Responsive Lightbox.
  • Content protection based on User Level (Guests & Members) and Site Level.
  • Warning alert message options for print screen (PrtSc, Alt+PrtScn & CTRL+PrtScn) and mouse right click.

Smart content protector plugin is the all-in-one solution for fighting Plagiarism and it’s strongly recommended by many SEO experts and webmasters.

If you can’t afford the above premium plugin to protect your posts and pages from being copy by someone, you can try free WordPress plugin such as WP-Copy Protect & WP Content Copy Protection & No Right Click.

Well, let’s come back to the main topic on how to add attribution link or copyright notice to the copied text. Above I have shared a best plugin to protect your text and images on your WordPress websites.

How to Append Source Link & Add Copyright Notice to the Copied Text

While working on your online projects, you might have noticed that whenever you need to copy some of a headline or text from a website, a link of the source page gets automatically generated and copied to the clipboard and when you paste the copied text on your pages, the original source link gets also pasted along with the copied content.

There are many premium wordpress themes available that supports this feature. However if you’re website theme doesn’t have this feature, you probably want to know how to a add source link to the copied text automatically when someone copies text from your website and blog.

Here you are going to know how to add attribution link with copyright symbol and copyright notice (custom text message) using a JavaScript code.

Let’s see how does this JavaScript works to append attribution link or/and add custom copyright message to the copied text. I don’t know who is the developer of this JavaScript code, but I have copied this awesome script from bavotasan.com and it seems the script is the work of author: c.bavota and this JS is also mentioned in a post on Stackoverflow.

<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; c.bavota"; // 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>

The above JavaScript code works well in most internet browsers, however we are sorry for Internet Explorer users having IE below version 9. But works for IE 9 & above and Microsoft Edge.

How to Add JavaScript in WordPress or HTML Website?

Well it’s pretty simple. Just copy the above code and make appropriate changes according to your needs and paste it into the footer template of your WordPress site.

Login to your WP Dashboard => Go to Appearance => Editor. Select the theme to edit => Click on Theme Footer (footer.php) and paste the copied JavaScript code just before the </body> and hit Update File. If your WordPress theme has Theme Panel Options, you can also add this code into the custom code section (depends if the option is available).

For other platforms like HTML websites, edit the footer page via login through your FTP details. For more information on how to add Copyright Notice to copied text, get in touch with your web designer or website designing company.

The best benefits of this JavaScript is; it helps bloggers to generate free backlinks because whenever a content scraper will copy your posts, this script will create source page backlink below the copied text.

Hope this tutorial to automatically append source link or add copyright notice to the copied text will be proven helpful for you. If you’re facing any technical issue while implementing this JavaScript code on your website, you can ask us via comments.

Share your Views / Comments / Suggestions ✍