Forum'da ara:
Ara


Yazar Mesaj
Mesaj19.07.2008, 18:51 (UTC)    
Mesaj konusu: Sağ Tıklama Engel Kodu Nedir?

EVET
Mesaj19.07.2008, 18:56 (UTC)    
Mesaj konusu: Re: Sağ Tıklama Engel Kodu Nedir?

kurandini yazmış:
EVET


Bu Paylaşımı Önceden Bir Arkadaşımız Yapmıştı. Bilgisayarıma Kaydetmiştim..
Eğer burda Kimin Yaptığı Belli olursa Paylaşım İçin Teşekkür Ederim Wink

FireFox Sağ Tık Engelleme:

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

    var message="Ne yazık ki olmaz!";

    ///////////////////////////////////
    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>



Seçim ve Sağ Tık Engelleme:

Kod:
<script language=JavaScript>
<!--
   if ( window.Event )
      document.captureEvents( Event.MOUSEUP );

   function nocontextmenu()
   {
      event.cancelBubble = true, event.returnValue = false;
      return false;
   }

   function norightclick( e )
   {
      if ( window.Event )
      {
         if ( e.which == 2 || e.which == 3 )
            return false;
      }
      else if (event.button == 2 || event.button == 3)
      {
         event.cancelBubble = true, event.returnValue = false;
         return false;
      }
   }

   if ( document.layers )
      document.captureEvents( Event.MOUSEDOWN );

   document.oncontextmenu = nocontextmenu;
   document.onmousedown = norightclick;
   document.onmouseup = norightclick;

   function notaccept(e)
   {
      return false;
   }

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




Caba Olarak da CTRL+C Engelleme:)

Kod:
<script>
function ctrlCEngelle(e) {
   olay = document.all ? window.event : e;
   tus = document.all ? olay.keyCode : olay.which;
   if(olay.ctrlKey&&(tus==99||tus==67)) {
      if(document.all) { olay.returnValue = false; } else { olay.preventDefault(); }
   }
}
</script>





yazı seçme ve sağ tuş engelli (hem int.exp. hemde firefox için )

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>
<body ondragstart="return false" onselectstart="return false" oncontextmenu="return false">


Saygılarımla...
______________
www.ironarchives.tr.gg
Mesaj19.07.2008, 18:56 (UTC)    
Mesaj konusu:

java ölümünü inceleyin lütfen
______________
Mesaj02.03.2009, 14:16 (UTC)    
Mesaj konusu:

<script language=JavaScript>
<!--
if ( window.Event )
document.captureEvents( Event.MOUSEUP );

function nocontextmenu()
{
event.cancelBubble = true, event.returnValue = false;
return false;
}

function norightclick( e )
{
if ( window.Event )
{
if ( e.which == 2 || e.which == 3 )
return false;
}
else if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true, event.returnValue = false;
return false;
}
}

if ( document.layers )
document.captureEvents( Event.MOUSEDOWN );

document.oncontextmenu = nocontextmenu;
document.onmousedown = norightclick;
document.onmouseup = norightclick;

function notaccept(e)
{
return false;
}

document.onmousedown = notaccept;
document.onselectstart = new Function( "return false" );
// -->
</script>
Mesaj02.03.2009, 14:49 (UTC)    
Mesaj konusu:

eski tarihli mesajlara cevap yazmayın

iyi çalışmalar Wink

______________
DERS EĞLENCE VE BİLGİNİN DEĞİŞMEZ ADRESİ
Mesaj02.04.2011, 17:23 (UTC)    
Mesaj konusu: Re: Sağ Tıklama Engel Kodu Nedir?

ironarchives yazmış:
kurandini yazmış:
EVET


Bu Paylaşımı Önceden Bir Arkadaşımız Yapmıştı. Bilgisayarıma Kaydetmiştim..
Eğer burda Kimin Yaptığı Belli olursa Paylaşım İçin Teşekkür Ederim Wink

FireFox Sağ Tık Engelleme:

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

    var message="Ne yazık ki olmaz!";

    ///////////////////////////////////
    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>



Seçim ve Sağ Tık Engelleme:

Kod:
<script language=JavaScript>
<!--
   if ( window.Event )
      document.captureEvents( Event.MOUSEUP );

   function nocontextmenu()
   {
      event.cancelBubble = true, event.returnValue = false;
      return false;
   }

   function norightclick( e )
   {
      if ( window.Event )
      {
         if ( e.which == 2 || e.which == 3 )
            return false;
      }
      else if (event.button == 2 || event.button == 3)
      {
         event.cancelBubble = true, event.returnValue = false;
         return false;
      }
   }

   if ( document.layers )
      document.captureEvents( Event.MOUSEDOWN );

   document.oncontextmenu = nocontextmenu;
   document.onmousedown = norightclick;
   document.onmouseup = norightclick;

   function notaccept(e)
   {
      return false;
   }

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




Caba Olarak da CTRL+C Engelleme:)

Kod:
<script>
function ctrlCEngelle(e) {
   olay = document.all ? window.event : e;
   tus = document.all ? olay.keyCode : olay.which;
   if(olay.ctrlKey&&(tus==99||tus==67)) {
      if(document.all) { olay.returnValue = false; } else { olay.preventDefault(); }
   }
}
</script>





yazı seçme ve sağ tuş engelli (hem int.exp. hemde firefox için )

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>
<body ondragstart="return false" onselectstart="return false" oncontextmenu="return false">


Saygılarımla...


Teşekkürler....
______________
Buyrun Seçim Anketine Lütfen Katılın...

http://bedavahit-kazan.tr.gg/Se%E7im-Anketi-2011.htm

Önceki mesajları göster:   


Powered by phpBB © 2001, 2005 phpBB Group
Türkçe Çeviri: phpBB Türkiye & Erdem Çorapçıoğlu