Right click ease some of work when surfing the Internet. However, right-click make copy and paste activity of other people much easily. You actually can disable right click to keep your article from the copy paste activities. You want to disable your right click function? Just use this script. Follow this tutorial in only 3 steps.
1. Go to your Dashboard > Design > Page Element > Add a Gadget.
2. Paste this code below in it :
<script language=JavaScript>
<!--
//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com
//Sharing credits : www.place2how-to.com
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 and DONE!
Refresh your blog and see the results.
Source : Dynamicdrive.com
0 comments:
Post a Comment
Drop your comment. Ask or suggestion.
Join us on Faceboook Page too.