Portal of all Blogger widget, Airtel USSD Codes, Facebook Hack, Free Internet Tips, PC and Blogger Tricks

Breaking

Sunday 7 July 2013

Show Copyright Text automatically When Someone Copy Your content

HOW TO ADD AUTOMATIC LINK SOURCE WHEN OTHERS COPY  FROM YOUR BLOG.
 This is very unique trick to increase SEO Brought to you by Allin1web Developers. This trick is really very interesting.
Many of you were thinking that how to add text which will automatically copied along with your blog text when some one copy text from your Blog.

How This Work.

When some one copy text From your Blog, along with that text source of your blog link will automatically copied and pasted with that text.

Follow Following Steps To To Use This Trick

  • Go to Design option--> Edit HTML
  • Find (CTRL+F) </head> tag.
  • Copy the below code, and paste it above </head> tag.
CODE:
<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  © Allin1-Web"; // 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>
  • Change BOLD colour with your own words.
  • Save it..
I hope you have satisfied.Please Comment.

Keyword:
-HOW TO ADD AUTOMATIC LINK SOURCE WHEN OTHERS COPY A CONTENT FROM  OUR BLOG , add a copyright notice to copied text

No comments:

Post a Comment

Notice: Don't add "backlink". Text with Link will automatically Removed.