Blogger

Add Attribution Links to Text Copied From Your Blog In Blogger

Hello Bloggers firstly I would like to welcome you to Techno Geek Zone hope you will get some help from our tutorials posts. Today I am going to show you how you can add your page link to that place automatically where someone pastes text copied from your blog. Below is an Example: 

To add attribution links to Text Copied From Your Blog Follow :

Go To Dashboard of Blogger Blog in which you want to add this feature. Move to Template>Edit HTML

Press Ctrl+f to open search box and search for </body> tag and paste the below script above this </body> tag.

<script type=’text/javascript’>
function addLink(){var a=document.getElementsByTagName(“body”)[0];var b;b=window.getSelection();var c=”<br/><br/>   Read More : <a href='”+document.location.href+”‘>”+document.location.href+”</a>”;var d=b+c;var e=document.createElement(“div”);e.style.position=”absolute”;e.style.left=”-99999px”;a.appendChild(e);e.innerHTML=d;b.selectAllChildren(e);window.setTimeout(function(){a.removeChild(e)},0)}document.oncopy=addLink
</script>

Article written by:

Satyendra is a Biotechnologist from the city of Nawabs, Lucknow. Apart from blogging, his other interests are Indian rap knowledge, affiliate marketing, poetry, and basically anything nerdy.

Join the discussion

  1. Unknown

    you need to view and rearrange this post its really confusing

  2. Satyendra Maurya

    I think you should read the instructions in the post carefully.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

back to top