Bagi sobat Softshare yg kesel sama olah si copy paste, saya berikan trick agar artikel kita aman. Sebenernya sih masih bisa di copy tapi hehe ada tapinya nihh setengah artikel kita masih terlihat di blog si copas tersebut dan selanjutnya terdapat tulisan seperti di bawah :
Read more at :http://softshare094.blogspot.com/2011/09/cara-ampuh-menjaga-artikel-tidak-di.html
Copyright http://softshare094.blogspot.com/Under Comon Share Alike Atribution
Copyright http://softshare094.blogspot.com/Under Comon Share Alike Atribution
Pengen coba ayo ikuti langkah-langkah di bawah :
- Rancangan >> Edit HTML >> Beri tanda centang pada Expand Template Widget
- Gunakan Ctrl-F untuk mencari kode <head>
- Kalau sudah ketemu copy paste kode di bawah ini tepat 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 http://softshare094.blogspot.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 http://softshare094.blogspot.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>
4. Save Template
No comments:
Post a Comment