MASIGNASUKAMODIFv101
8165705216676015238

How to Automatically Add Source Links On Blogger

How to Automatically Add Source Links On Blogger
Views
How to Automatically Add Source Links Blogger

In the world of the internet, so many people copy text from one blog to another. So in this tutorial, I will show how you can add automatic credit like/Source Links, so let me tell you something about this.

What is the automatic credit link?

When anyone copies any text from your blog the automatic credit adds your post link under the copied text. If you still not understand then you can see the demo from the below demo button.
DEMO
Now copy any text from the demo and paste anywhere and see the magic, you will see on the last of the copied text the post URL and credit.

How to add this on Blogger

So let's talk about how you can add this auto credit link on blogger, just open your Blogger dashboard then go to theme HTML edit and search for </body> tag and add the below code after this </body> tag.
<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>
After adding this code after </body> tag then just save your theme.

Wrap Up:

I hope you enjoy this article. If you face any problem then simply comment down below, I will try my best to respond on your comment. This javascript code is not created by me the original credit goes to arlinacode.Thanks for reading me.
Admin Geli

I am a web designer and developer. Sharing knowledge is my passion and web designing is my interest but it is not bigger than my interest in Islam.

î…‰ Related Post

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
-_-
(o)
[-(
:-?
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
$-)
(y)
(f)
x-)
(k)
(h)
(c)
cheer
(li)
(pl)