Just another WordPress.com site

Javascript ile sağ tıklama yasağı koymak birçok kişinin bilgilerinin kopyalanmasını engellemek için kullandığı bir yöntemdir. Gelin bu dersimizde farklı bir yöntemini görelim.


<head>
</head>

tagları arasına ;


<script type="text/javascript">
<!--
function reddet(e){
return false
}
function IE4tikla(){
if (event.button==2){

return false;
}
}
function NS4tikla(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){

return false;
}
}
}
document.oncontextmenu=new Function("return false")

document.onmousedown=reddet
document.onselectstart=new Function ("return false")
//-->
</script>

Kolay gelsin.

Yorum bırakın