Disable right click with Alert
Thursday, May 26, 2011 | 11:06 PM | 0 comments
안녕하세요,Today i'm gonna show you how to make your blog even more interesting^^ Hehe~ Follow my steps k?
Step 1::
Dashboard > Design > Page Elements > Add Gadget > HTML/Javascript
Step 2::
Copy the code below :-
<script>var message="Don't copying me, copycat !";///////////////////////////////////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::
Then,just paste it...
Step 4::
Just change the red words into your var message... And then click save^^ Good luck all 감사합니다
