Sağ Tuş ve Seçme Yasağı (Konular Çalınmaz)
Header'da en alta şu iki kodu yapıştırın.
Kod:
<script language="JavaScript1.2">
//Disable select-text script (IE4+, NS6+)- By HATRED
//Exclusive permission granted to Dynamic Drive to feature script
//Visit
http://www.xslac.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>
Kod:
<script language="Javascript1.2">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
var mymessage = "--- Emege saygili olalim.. Bir daha deneme!!!!! ---";
function rtclickcheck(keyp){
if (navigator.appName == "Netscape" && keyp.which == 3) {
alert(mymessage);
return false;
}
if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) {
alert(mymessage);
return false;
}
}
document.onmousedown = rtclickcheck
//-->
</script>