Download this Safelink Theme. Download now!

Blogger Automatic source code added | online web

2 min read

 Hello Blogger! Welcome to Blog If your website is created on Blogger then this post may be helpful for you as I am going to say in this post. How to automatically create source link in blogger post in hindi. I will also say in this post what is automatic source link? How to add automatic source link to Blogger? So let's find out.


How To Create Automatic Source Links In Blogger Posts In Hindi
How To Create Automatic Source Links In Blogger Posts In Hindi

 

How to automatically create source link in blogger post in hindi

 

What is automatic source link? (What is automatic source link?)

Auto source link is a link that is automatically generated according to some code added to your blog or website and I am going to say in this post that it is for Blogger site.

How to Blogger Automatic Source Link?

If this question still lingers in your mind as to what the automatic source link is, then I am trying to remind you to explain something.

When you search the internet for something like - songs, poetry, etc. So if you want to share and copy it and when you copy and paste that article the source link of that post will also appear with that article, this mostly happens on some websites made in WordPress but you can do it if you want. Adding some code to your Blogger template makes it to your Blogger site.

Read more:

How to automatically add related posts in the middle of an article on Blogger

If someone copies a text from your post and pastes it somewhere, the automated source link will look something like this:

Life is a song, sing. Life is a game, a game. Life is a challenge, touch it. Life is a dream, realize it. Life is a sacrifice - give it away. Love life - enjoy it.

Read more at https://shayarishare4u.blogspot.com/2020/05/good-morning-shayari-in-hindi-2020.html

To add an auto source link to your Blogger site, you need to add the code to the Blogger template that I gave below.

Here you will find two codes and both codes will show the source link of your site post in different ways.

So you need to select any one code according to your needs.

To add this code to your website, follow these steps: ---

  1. Blogger dashboard open
  2. Click the Themes menu
  3. Click Edit HTML
  4. Search tags
  5. Use one of the codes below to copy it.
  6. Now paste on top of this code.
  7. Now save the theme and do it

 

<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> 

 

<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:

So friends, you must have understood what is automatic source link? How to automatically add source link to Blogger? If you encounter any problems after following the above information correctly, you can leave us a comment.

I hope you guys liked this post and if you have any questions or suggestions you must let us know in the comments and also join our youtube channel .

[ad_2]


Post a Comment