Tutorial 6 : Disable Right Click With Message


And Hello to my reader blog :D So , how are you ? Me ?! Fine , thankyouu . Alhamdulillah wasyukran :) So , hari nih tia nak buat tutorial about disable right click okayy . Tia mmg tak buad benda nih . But tia share je lahh okayy . Tia punn sesajer nak update tutorial nih coz hari nih mmg takde ap yg mnarik . And Kelantan ?! Tak jadi pergi . Huwaa :'( Nak nngis rsanya . Okayy-2 , back to the topic . So , nak tau step dia ? Jom kiter skodeng :D

STEP 1 

Klik Layout > Add A Gadget > HTML /Javascript

STEP 2

Copy code dibawah and paste kan

<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="Jangan tekan right click . Dushh karang baru tau"; ///////////////////////////////////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>

STEP 3

Click Save and Preview . Tgklahh kalau menjadi okayy .

NOTA : Yang warna merah tuh ubahlah jadi ayat korang okayy :D

Selamat Mencuba ! 

Dah Baca Ke ? Terharu tak ?! Tekan 'Follow' or 'Join This Site' ye . Trimas :D

0 hot ear:

Post a Comment

Tiny Finger Point Hand With Heart