08 November 2011

Disable Right Click Without Alert Message

matamulutyusmardianaBlog 5:37 PM

بِسْـــــــــمِ ﷲِالرَّحْمَنِ الرَّحِيم






Hey Guys...
Selamat Petang.... Rini Yus nak kongc ngan korang Tuto ni...
Tuto yg Lepas ad gak bout ni.. tapi tuh ad alert.. or lebih dikenali dengan popup message... kali ni Tuto yg same.. cme xder alert... ok..?? if suke,try laa k... :)

1 : : Login >> Dashboard >> Design >> Add a Gadget >> HTML/Javascript

2 : : Copy dan Paste kod dibawah ni kat Content HTML korang tuh k...
<script language=JavaScript><!--
var message="";///////////////////////////////////function clickIE() {if (document.all) {(message);return false;}}function clickNS(e) {if(document.layers||(document.getElementById&&!document.all)) {if (e.which==2||e.which==3) {(message);return false;}}}if (document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")// --></script>
3 : : Save n View..try jadik x... selamat mencuba ^_^
اَلحَمْدُ لِله

Subhanallah ✿ Alhamdulillah ✿ Lailahaillallah ✿ AllahuAkbar
..✿Time Kasih Kerana Membaca! :) ✿..


No comments:

:: Assalammualaikum..tinggalkan komen Di Sini..◕‿◕ ::