Monday, 1 October 2012

Tutorial: Disable Right Click (Blogskin)



Assalamualaikum,

Harini Lia rasa rajin la. Lia nak ajar korang cara2 buat disable right click .
Kalau korang taktahu disable right click, p'gi search dekat google tu  sbb Lia malas gile
nak tulis. #tadi kata rajin, ni malas pulak . Ish3 .
Dah2 kite ni buang masa la .

Meh, start !

1.Dashboard > Template
2.Ctrl + F search kod <head>
3.Copy kod ni

<script language=JavaScript><!--//Disable right mouse click Script//By Dynamicdrive (renigade@nsimail.com)//For full source code, visit http://www.dynamicdrive.comvar message="";///////////////////////////////////function clickIE4(){if (event.button==2){return false;}}function clickNS4(e){if (document.layers||document.getElementById&&!document.all){if (e.which==2||e.which==3){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("return false")// --></script>

Paste dekat bawah kod <head> .
Oke, dah siap .
Eh, Lia lenguh la . Tolong komen, baru Lia tak lenguh .. Hehe

Oke, dah la melalut, korang dah pening kan bace ape yg Lia tulis ni .
Lia ciao lu . Oopps komen yer ^^

Credit: Kak AtiQah

No comments:

Post a Comment

Your comments are highly appreciated :')