Ndalo Opsionin ''Copy-Paste''
Faqja 1 e 1
Ndalo Opsionin ''Copy-Paste''
Ky Script shėrben pėr ta ndaluar opsionin copy-paste
- Kodi:
<script language="Javascript1.2">
////Nuk lejohen opcionet Copy dhe Cut.
am = "Ky Funksion eshte i Ndaluar !";
// ===========================
bV = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"
function nrc(e) {
if (bNS && e.which > 1){
alert(am)
return false
} else if (bIE && (event.button >1)) {
alert(am)
return false;
}
}
document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;
</script>
3gp'- Webmaster
- Numri i postimeve : 211
Join date : 18/05/2008
Age : 32
Faqja 1 e 1
Drejtat e ktij Forumit:
Ju nuk mund ti pėrgjigjeni temave tė kėtij forumi
|
|