| Konu: Sağ Tık Engelleme ve Benzeri Engelleme Kodları Salı Eyl. 07, 2010 4:53 pm | |
| Mozilla 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> 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> NOTYukarıdaki Kodlamaların Çok Yer Kaplamasından Rahatsız Olursanız Cabası Olarak Alttaki Kodlamaları Koyabilirsiniz... - Kod:
-
<script src="http://internetkaynaklari.xm.com/forumup/koruma1.js"></script> <script src="http://internetkaynaklari.xm.com/forumup/koruma2.js"></script> <script src="http://internetkaynaklari.xm.com/forumup/koruma3.js"></script> Daha Sonra Kaynak BelirtilecektirYukarıda Paylaşmış Olduğum Engelle Bir Takım Güvenlik Kodlamaları Uzman Kişiler Tarafından Test Edilmiş Ve Sonuç;İnternet Explorer %100 Güvenlik Mozilla FireFox %85 Güvenlik Safari %90 Güvenlik Opera %40 GüvenlikTabi Bu Bayağı Bir Uzman Kişiler Tarafından Test Edilmiş Normal Bir Kullanıcının Sağ Tık ve Benzeri Kodlamaları Aşması Daha Zor Diyebiliriz.OlcayTR, Kolay Gelsin Misafir Ras Gele (: | |
|