Disable Right Click Tutorial

Atas Permintaan Tiea Ibrahim, ajien wat tutorial nie..
nak wat disable right click bukan susah..
senang jer..mule2 kan..

Log in blog>Design>Page Element>

Add Gadget>Open HTML/JavaScript HTML/Page Element>

Copy Code Dibawah



<script language="JavaScript"><br
/><!--
//Disable right mouse click Script
//By ajien //http://ajien-life.blogspot.com/
var message="Jangan Nak Ngade!";
///////////////////////////////////
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")
// --><br /></script>


Pastekan ke HTML/Page Element>Last Skali..SAVE..

Hasilnya:


Selamat Mencuba..




Photobucket

7 comments:

mknace unlimited said...

:):):)
nice info

Full With Joy said...

tenkiu..

Tiea Ibrahim said...

thanks Ajien :)

http://tiea-ibrahim.blogspot.com/2010/12/i-like.html

aifaroslan said...

nk copy code tu . tp ta bole pun .
:(

Full With Joy said...

@Vanilla Wangy

boley2..tekan CTRL+C..ok??

Unknown said...

nak copy gak.. nape x blh pown..

Full With Joy said...

@ainaa.syafiqah27
try tekan ctrl+c untuk copy

Post a Comment