1 Step : Go to Blogger --> Select Your Blog
2 Step : Click on The Layout
3 Step : Click on the Add Gadget
4 Step : Select Html/ Java Script
5 Step : Paste the Code & Save
4th Step
5th Step
Code :
<script type="text/javascript">
//Disable mouse select
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false }
function reEnable(){
return true }
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else {
document.onmousedown=disableselect
document.onmouseup=reEnable }
</script>
Code Source : http://www.allbloggertips.com/2013/04/how-to-disable-mouse-right-click.html
Comments
Post a Comment