How to add Automatically Source Links on post

How to add Automatically Source Links on post

Updated on 12 April
Hello, guys welcome to infinity blogger today we are going to learn that how to to create an automatic source link in our posts if you don't know that what is a source link or how it works then stay tuned.

What is a source link?

Any content you post on your website it A goes online with a link, we can say that this is a source link of your post, the link contains the domain of your website and the date when your post is published, so it's really important that the source link of your post will visible in every place, that's why I am going to explain that how to create an automatic source link of every post on your website if anyone tries to copy your content

How its work?

Let's think about it that you do very hard work and gather some information and after all these efforts you write a post on a topic and after that, you post it on your website, then some other person came and copy your content without giving any credits, your hard work your efforts everything goes in a second to another website, then how to prevent this from happening, It's a very simple and easy trick, to prevent this happening next time, So from next time if anyone going to copy your content from your website and paste on their website then a source link with your website credit will appear automatically.

Advantages of it!

It's a really helpful and full off advantage package for your website, after this if anyone tries to copy your content and whenever they paste it their website automatic source link will generate pointing to your website, it will also give you backlinks for your website, with the help of this backlinks to your website post you will grow much faster than ever.

Disadvantages of it!

I can't see any disadvantages in it because it's a trick that will give you only advantages in backing sections and also it helps to grow your website, the JavaScript we are going to use in it is also a lightweight JavaScript and because of its lightweight, it will not affect your website loading speed. By the way, these are my opinions, it possible that your opinion can be different.

How to Install automatic source link!

So now let's see that how to create an automatic source link generator on your website, it's very easy and simple to create an automatic Sourcing generator on your website you just have to follow the simple steps given below.
Steps:
  • Go to blogger.com
  • Click on themes
  • Click on the arrow after that click edit HTML
  • After that find </body> and paste the code above it
  • Now click on save, and it's done.
I have two versions of it, I leave the decision on you that which one you want to use...
Version 1:
Code 1:
<script type='text/javascript'>
//<![CDATA[
// Copy Text
function nocopas(){var e=window.getSelection();pagelink=" Read more : "+document.location.href,copytext=e+pagelink,newdiv=document.createElement("div"),newdiv.style.position="absolute",newdiv.style.left="-99999px",document.body.appendChild(newdiv),newdiv.innerHTML=copytext,e.selectAllChildren(newdiv),window.setTimeout(function(){document.body.removeChild(newdiv)},100)}document.addEventListener("copy",nocopas);
//]]>
</script>
You can edit the code from where I marked
Version 2:
Code 2:

<script type='text/javascript'>
//<![CDATA[
!function(e,t){var n="getSelection",o="removeAllRanges",i="addRange",l="parentNode",a="firstChild",d="appendChild",r="removeChild",s="test",c="innerHTML";if(e[n]){var p,g,f,h,u,y;t.addEventListener("copy",function(C){for(g=C.target;3===g.nodeType;)g=g[l];if(h=t.createElement("div"),(p=e[n]())&&p.rangeCount&&(p=p.getRangeAt(0))&&(f=p.cloneRange(),p=p.cloneContents())){for(;u=p[a];)h[d](u);if(!/^(pre|code)$/i[s](g.nodeName||"")&&!/(^|\s)no-attribution(\s|$)/i[s](g.className||"")){var v=e.location.href;h[c]+="<br><br>&copy; "+t.title+'<br>Source: <a href="'+v+'">'+v+"</a>"}y=t.createRange(),t.body[d](h),y.selectNodeContents(h),p=e[n](),p[o](),p[i](y),setTimeout(function(){h[l][r](h),p[o](),p[i](f)})}},!1)}}(window,document);
//]]>
</script>

Conclusion

It's a very easy and simple tool to protect your content from thieves, it's also easy to apply. But if you are facing any problem applying it on your website then you can contact me on Telegram at any time.
The automatic source link generator tool is a must-have tool that every blogger website owner should have.
Cre: https://www.infinityblogger.in/2021/01/automatically-source-link.html

0 comments for How to add Automatically Source Links on post

Cancel