Here i want to say abt how to disable right click on your website or blog...
first of all you have to copy below code add in your blog or site....
for that you have to sign on.... then go to design option....
then go to add gadget option ...
then you get a window of blogger gadgets, in that you have to select html/javascript...
in that paste the given code .... now save .....
Now observe what happened...
Here you get function disabled message...
if you want to change that, you can..
<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=" funnction 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>
Take care...
All the best....

Loading...
0 comments:
Post a Comment