Due to some circumstances, this blog is now up for sale, for more enquires contact: Plushista@gmail.com
RealcomBiz
Pin It

Add Copyright Notice With Read More Link to Copied Text of your Blog

by Unknown | Thursday, March 28, 2013 | | 6 Comments

It's always a good idea to protect blog content from copy and paste bloggers, and this make us to write on how to disable highlight function and how to disable right click context menu on images. But i think i need to provide something more outstanding, so 1 will be sharing with you, how you can add copyright notice to copied text of your blog. But it only works with all major browser except internet explorer.
This is how it works. When someone copied your blog content and paste it any anywhere, the script will add a link back to your site as the original source with a copyright notice. Sounds cool, right?


If you are on Wordpress you can use iCopyright or add the following code into your blog head section. But for blogger follow the below steps.


How to Add Copyright Notice to Copied Text

  • Go to your blogger dashboard
  • Click on Template > Edit HTML > Proceed (Mark/Tick Expand Widget Template)
  • Use ctrl F to find </head> and paste the following code above it.

<!-- Copyright Notice By RealcomBiz.com -->
<script type='text/javascript'>
function addLink() {
var body_element = document.getElementsByTagName(&#39;body&#39;)[0];
var selection;
selection = window.getSelection();
var pagelink = &quot;<br/><br/> Read more at: <a href='&quot;+document.location.href+&quot;'>&quot;+document.location.href+&quot;</a><br/>Copyright &#169; RealcomBiz&quot;; // You can change this to your prefered text
var copytext = selection + pagelink;
var newdiv = document.createElement(&#39;div&#39;);
newdiv.style.position=&#39;absolute&#39;;
newdiv.style.left=&#39;-99999px&#39;;
body_element.appendChild(newdiv);
newdiv.innerHTML = copytext;
selection.selectAllChildren(newdiv);
window.setTimeout(function() {
body_element.removeChild(newdiv);
},0);
}
document.oncopy = addLink;
</script>

  • You can change the above highlighted line to your own preferred copyright text.
  • Save your template. Done!
If you have any queries or suggestion, feel free to drop it in the comment box.



Go Social:

Subscribe For Free Updates!

*Please confirm the email sent to your inbox after clicking "Sign Up!".

6 comments : Post Yours! Read Comment Policy ▼
PLEASE NOTE:
We have Zero Tolerance to Spam. Chessy Comments and Comments with Links will be deleted immediately upon our review.

Recent Posts

Let's Connect

Site Links

Copyright © 2014 RealcomBiz. All Rights Reserved.
Powered by Blogger