Wednesday, 15 March 2017

How To Disable Right Click On Blogger, Copy Protection, HTML Script and Process

How To Disable Right Click On Blogger, Copy Protection, HTML Script and Process
http://softwarestuner.blogspot.com/2017/03/how-to-disable-right-click-on-blogger.html
How To Disable Right Click On Blogger
How to disable right click. This is the common question for blogger. To protect your post, writing from copying this is very important to add disable right click javascript/ html code. Here is the code you can use to protect copying and active disable right click.
Process:

  • Login your blogger account
  • Go to Layout Option
  • Select Add a Gadget
  • Scroll down and select HTML/ JavaScript
  • Now Paste the below code and save
  • You done, check it out

<script type=”text/javascript”>
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>

Do not forget to comment, and share Thank you…Enjoy

No comments:

Post a Comment