DeebaLifeIsAStory
FOLLOW | DASHBOARD

About Cupcakes Entries


Tutorial Disable Right Click
20 November 2011 | 3:07 AM | 0 comments
tawu kan ape dea ? yang tak tawu , teng0k bawah ni kayy :) bile kite click mouse belah kanan , dea akan naik cemni .

taw kan kan ? k senang jea nak buat .

Step 1
DASHBOARD > DESIGN > ADD A GADGET > HTML/JAVASCRIPT

Step 2
copy and paste kan kod di bawah ni
<script>
var message="anda sedang diperhatikan";
///////////////////////////////////
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>


k , ayat warne pink tu , k0ang bole tuka dengan ayat sendiri :)

Step 3
just click SAVE .

da tuto was DONE :) kbye .




COLDEST | HOTTEST