Hi all,
Today I want to share how to disable right-click in your blog
1. copy the code
<script language=javascript> var message="Function Disabled!"; 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>
put it at add gadget -> html
p/s Function Disabled! can be change to other message
credit to :xd
Always Free & For You
15 Give Away Reward :)
Saturday, May 19, 2012
How To Disable right-click in blog (english)
Posted on 5:17:00 AM by Cry Gh0st
| No comments
Subscribe to:
Post Comments (Atom)
0 ulasan:
Post a Comment