How to Create Automatic Link Source on Blogger

How to Create Automatic Link Sources on Blogger which is useful for reminding visitors, especially visitors who copy articles
How to Create Automatic Link Source on Blogger

Have you ever copied writing from a website and then when pasted, a source link to the site where you took the article appears? At this time the Blog Guide will teach you How to Create Automatic Link Sources on Blogger which is useful for reminding visitors, especially visitors who copy articles, that the writing they copy has a source and by including a link to the source of the article, they already appreciate content.

How to Create Automatic Link Source on Blogger

  1. Open the Blogger dashboard page
  2. Then click the Themes menu
  3. Then Edit HTML
  4. Then add the following code in the <head> </head> section or before the </body> code.
  5. When finished adding, please click the Save button.

Create an Automatic Link Source In Blogger

<script type='text/javascript'>
//<![CDATA[
function copaslink(){var e,n=document.getElementsByTagName("body")[0],t=(e=window.getSelection())+("<br/><br/>Sumber : <a href='"+document.location.href+"'>"+document.location.href+"</a><br/>"),o=document.createElement("div");o.style.position="absolute",o.style.left="-99999px",n.appendChild(o),o.innerHTML=t,e.selectAllChildren(o),window.setTimeout(function(){n.removeChild(o)},0)}document.oncopy=copaslink;
//]]>
</script>

At this stage you have successfully added an Automatic Source Link on Blogger. Please do the test by copying the articles available on the blog site then pasting them in the notepad application.

Here is an example of the results:


Example of Automatic Link Sources on Blogger

Thus the discussion on How to Create Automatic Link Source in Blogger, hopefully this is useful. If there is anything you want to ask, please ask via the comments column provided below.