khairunnisa nurrahmatia: Tutorial: Disable Right Click

Entry About Shout Friends Follow D'Board


  • Hi, welcome to my blog. Be nice here.


owner

Contact Me

credits
17.00 | 0 Cloud(s)
Tutorial: Disable Right Click



Hai, Assalamu 'alaikum!

1. Pergi ke : Dahsboard > Template > Edit HTML.
2. Tekan Ctrl+F atau F3 dan cari code ini :

<head>

3. Copy code di bawah.

<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>

4. Pastekan di  bawah code <head>5. Preview & save.



Wassalamu 'alaikum.

Label:

0 Komentar:


Posting Komentar