gravatar

Blogger Yazı Kopyalamayı Engelleme Kodu

İçeriklerinizin başkaları tarafından kopyalanmasını istemiyorsanız tam size göre bir eklenti.Bunun için yapmanız gerekenler şunlar:Panelden Şablon > HTML'yi Düzenle > Widget Şablonlarını Genişlet dedikten sonra CTRL + F yardımı ile aşağıdaki kodu buluyoruz.

<head>

Bu kodun hemen sonrasına aşağıdaki kodları ekliyoruz.


<script language='JavaScript1.2'>  
  
//Disable select-text script (IE4+, NS6+)- By Andy Scott
//Exclusive permission granted to Dynamic Drive to feature script
//Visit http://www.dynamicdrive.com for this script 
  
function disableselect(e){
return false
} 
  
function reEnable(){
return true
} 
  
//if IE4+
document.onselectstart=new Function ("return false") 
  
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
<script language='JavaScript'>curPage=1;
document.oncontextmenu = function(){return false}
if(document.layers) {
    window.captureEvents(Event.MOUSEDOWN);
    window.onmousedown = function(e){
        if(e.target==document)return false;
    }
}
else {
    document.onmousedown = function(){return false}
}</script>  

Daha sonra kaydet deyip çıkıyoruz.Hepsi bu kadar.

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

Related Posts Plugin for WordPress, Blogger...