earth people
Born To Die.
Why so serious?

Life is to hard, but I've try to move on :')

Twitter; @adriannabalqis Facebook; Adrianna Azam Instagram; adriannabalqis Ask fm; adryannablqis Keek; adriannabalqis Soundcloud; adriannabalqis


Theme ©





Toturial : Disable Right Click
Saturday, December 18, 2010 | 1 comments
Assalamualaikumwaruhmatullahiwabarukatu .. (Insaf da aku) Hahaha
Ish tak yah buang masa dah !
Ok2 nak tahu ape tu Disable Right Click ?
Korang cuba right click kat mane2 foto nana ,
Dia cakap Oit ! wat pe tu ? Nak curi ek ?
Kan ?
Cam tu la .. Ok mari mulakan kelas ! -__________-

Cara pemasangan :
1 .Sign In > Dashboard > Design > Add Gadget > Html /Javascript
2. Paste kod ni dekat Html / Javascript tu
<script language=javascript>
<!--

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="Oit ! Wat pe tu ? Nak curi ek ? Tampar kang !";

///////////////////////////////////
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>
 
Pastu yang var message tu ltak la ayat korang sendiri ek ?
N nampak button save click kat situ !
Kalo tak bole comment kat sini !

Labels:


NEWER
PAST



Follow Me Profile Stuff Sites Posts