Barusan saya sudah share mengenai Cara Pasang Anti Klik Kanan, sekarang saya share lagi tentang ‘’Cara Pasang Link Blog Kita Otomatis Saat Artikel Dicopas’’, blog itu bermacam-macam, ada blog tutorial blogger, blog berita, dll lah,,,:) menurutku kalau blog tutorial blogger jangan dipasangin anti klik kanan, karena itu blog tutorial, jadi pantasnya pasangin link otomatis saat artikel kita di copas. Langsung aja ke tkp, karena saya udah ngantuk, hehe

Untuk SS nya dibawah ini

Berikut Cara Caranya memasang link otomatis saat link dicopas

1. loggin ke blogger masing masing
2. Klik Template > edit HTML
3. cari kode </head> pada kotak template agar lebih mudah gunakan ctrl+f

4. copy script di bawah ini lalu pastekan tepat di atas </head>


<script type='text/javascript'>
function addLink() {
var body_element = document.getElementsByTagName('body')[0];
var selection;
selection = window.getSelection();
var pagelink = "<br/><br/>Sumber :<a href='"+document.location.href+"'>"+document.location.href+"</a><br/>"; // change this if you want
var copytext = selection + pagelink;
var newdiv = document.createElement('div');
newdiv.style.position='absolute';
newdiv.style.left='-99999px';
body_element.appendChild(newdiv);
newdiv.innerHTML = copytext;
selection.selectAllChildren(newdiv);
window.setTimeout(function() {
body_element.removeChild(newdiv);
},0);
}document.oncopy = addLink;
</script>

5. Simpan template

Related Posts

Silakan pilih sistem komentar anda ⇛   

14 komentar untuk Cara Memasang/ Instal Link Blog Kita Secara Otomatis Saat Artikel Dicopas

no avatar avatar
Dikki cantona
# October 7, 2016 at 8:44 AM

widih keren nih bisa langsung otomatis masang link biar tau pemilik artikelnya siapa

Balas Hapus
no avatar avatar
Unknown avatar
# October 7, 2016 at 8:50 AM

ieah gan....biar terkenal. hehe

Balas Hapus
no avatar avatar
Irvan
# October 7, 2016 at 8:51 AM

izin coba ya gan hehe:)

Balas Hapus
no avatar avatar
Unknown avatar
# October 7, 2016 at 8:57 AM

monggo mas ;)

Balas Hapus
no avatar avatar
Unknown avatar
# October 7, 2016 at 8:57 AM

sungguh bermanfaat

Balas Hapus
no avatar avatar
Unknown avatar
# October 7, 2016 at 10:11 AM

mntap infonya gan

Balas Hapus
no avatar avatar
Kiki rifqy
# October 7, 2016 at 10:39 AM

nice tutornya....

Balas Hapus
no avatar avatar
Unknown avatar
# October 7, 2016 at 10:53 AM

bermanfaat gan :)

Balas Hapus
no avatar avatar
muitond
# October 9, 2016 at 3:50 PM

Nice sob

Balas Hapus
no avatar avatar
Unknown avatar
# October 16, 2016 at 11:19 AM

good job..top

Balas Hapus
no avatar avatar
Unknown avatar
# January 28, 2017 at 12:39 AM

http://nikonafian.blogspot.co.id

Balas Hapus
no avatar avatar
Didie Bae
# January 28, 2017 at 1:48 AM

nice infoh

Balas Hapus
no avatar avatar
Cinto Hati
# January 28, 2017 at 4:58 AM

Maaf mau tanya ni mas,ini kode nya bagus ngak buat loadingnya blog kita.

Balas Hapus
no avatar avatar
Unknown avatar
# February 28, 2017 at 8:03 AM

kalau kebanyakan pasang widget atau link seperti ini blog kita loading nya akan lambat gan

Balas Hapus