07-13-2015, 05:44 PM
(Son Düzenleme: 07-13-2015, 05:59 PM, Düzenleyen: Secilmis42.)
Forum Bilgilerinin Çalınmasını Umarım Hiç Kimse Sevmiyordur :)
O Yüzden Bu Kodu Sizler İçin Buldum.
O Yüzden Bu Kodu Sizler İçin Buldum.
PHP Kod:
<SCRIPT language=javascript>
//No Right Click Script
function NSclick(e) {
if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)==4) {
if (e.which == 3) {
return false;
}
}
if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=5) {
if (e.button == 2 || e.button == 3) {
e.preventDefault();
return false;
}
}
}
if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)==4) {
document.onmousedown=NSclick;
document.captureEvents(Event.MOUSEDOWN);
}
if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=5) {
document.onmouseup=NSclick;
}
if (navigator.appName=="Microsoft Internet Explorer") {
document.oncontextmenu = new Function("return false;")
}
//nots
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>