MyBB Depo Forum

Orjinalini görmek için tıklayınız: Forumda sag tusu engelemek istiyom nasil yapcam
Şu anda (Arşiv) modunu görüntülemektesiniz. Orjinal Sürümü Görüntüle internal link
Forumda sag tusu engelemek istiyom nasil yapcam Bilen varsa söylesin
Kullandığınız Tema Üst Kısım Şablonlar header_welcomeblock_guest En Altına Yapıştırın

Kod:
<script language=JavaScript>
<!--

//Disable right mouse click Script
//By EmRe ([email protected]) w/ mods by DynamicDrive
//For full source code, visit http://www.heptr.net

var message="Foruma Üye Olmadığınız İçin Tüm Fonksiyonlar Kapalıdır!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

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

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

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

// -->
</script>

istersen user şablonuna ekle ama olurmu bilmem alıntı

Kod:
<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>
<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>

bunuda headerin en altına ekleyebilirsin üyelerede geçerli sanırım

yardımcı olduysam bi tşk yeter
Bu Kodu Header Şablonunun En Üstüne Yapıştırın Sorun Bitmiştir

Kod:
<script language=JavaScript>
<!--

//Disable right mouse click Script
//By EmRe ([email protected]) w/ mods by DynamicDrive
//For full source code, visit http://www.heptr.net

var message="Foruma Üye Olmadığınız İçin Tüm Fonksiyonlar Kapalıdır!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

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

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

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

// -->
</script>