Posted by : Muhamad Ridwan
Jumat, 22 Februari 2013
Tetapi sekarang ini banyak tukang copas yang tidak memberikan link sumber dari artikel yang mereka copy paste.Maka dari itu saya akan memberikan tips agar setiap artikel blog kita yang di copy paste oleh orang lain akan memberikan link URL blog kita.Ayo segera kita pasang Script Anti Copy Paste di blog kita.
Ikuti langkah-langkah berikut ini :
1.Login ke akun blogger sobat
2.Klik menu RANCANGAN
3.Klik menu Edit HTML
4.Masukan script berikut di bawah kode <head>
<script type='text/javascript'>
function addLink() {
var body_element = document.getElementsByTagName('body')[0];
var selection;
selection = window.getSelection();
var pagelink = "<br/><br/> Read more at: <a href='"+document.location.href+"'>"+document.location.href+"</a><br/>Copyright www.andreykusanagi.com Under Common Share Alike Atribution"; // 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>
function addLink() {
var body_element = document.getElementsByTagName('body')[0];
var selection;
selection = window.getSelection();
var pagelink = "<br/><br/> Read more at: <a href='"+document.location.href+"'>"+document.location.href+"</a><br/>Copyright www.andreykusanagi.com Under Common Share Alike Atribution"; // 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>
Ganti URL www.andreykusanagi.com dengan url blog sobat.
5.Kemudian klik SIMPAN TEMPLATE.
6.Selesai
Bagi sobat yang menggunakan antarmuka blogger yang diperbarui,silahkan ikuti langkah berikut
1.Login ke akun blogger sobat
2.Klik menu Template.
3.Klik menu Edit HTML
4.Masukan script berikut di bawah kode <head>
<script type='text/javascript'>
function addLink() {
var body_element = document.getElementsByTagName('body')[0];
var selection;
selection = window.getSelection();
var pagelink = "<br/><br/> Read more at: <a href='"+document.location.href+"'>"+document.location.href+"</a><br/>Copyright www.andreykusanagi.com Under Common Share Alike Atribution"; // 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>
function addLink() {
var body_element = document.getElementsByTagName('body')[0];
var selection;
selection = window.getSelection();
var pagelink = "<br/><br/> Read more at: <a href='"+document.location.href+"'>"+document.location.href+"</a><br/>Copyright www.andreykusanagi.com Under Common Share Alike Atribution"; // 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>
Ganti URL www.andreykusanagi.com dengan url blog sobat.
5.Kemudian klik Save Template.
6.Selesai.