You Are Here : Home » , » How To Disable Right Click In Blogger

How To Disable Right Click In Blogger

Welcome to the amazing world of cool hacking tricks. If you are looking for some really very interesting tricks than you are in right place. In this Blog I will share with you every tricks and tips which you need to know. I have also included many Blogger tricks due to increasing users in Blogger platform and is the time for new blogger trick.
Today, I will show you how to disable right click in Blogger. You always want to make copyesters away from your Blog. You have written your Blog with so much of hard work and some malicious bloggers just copy it. If you want disable right click in Blogger then follow these simple steps:

How To Disable Right Click In Blogger


  • First go to blogger home and sign in with your account.
  • Than go to Dashboard. Screenshot of the Dashboard is given below:
Disable Right Click In Blogger
Blogger Dashboard
  • After that you have to go to Layout section. Click on Layout in Blogger Dashboard.
  • Then add a new Gadget.
  • After you click on Add A New Gadget a pop up will appear. Click HTML/Javascript.
  • Now the time for the code that will disable right click in your Blog. Paste the code given below in the pop up.
<!--Code Starts-->
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
<!--Code to stop right click end-->
  • Now hit save button.
  • Done. You have blocked right click on your Blogspot Blog. Now say bye to malicious bloggers.
If you only want to disable text highlighting or text marking that will prevent users from copying than try the code given below. This code will not allow text highlight on your Blogger blog. Just Paste the code given below instead of above code.
html, body, div, span, object,
form, input, h1, h2, button, label, a, img {
  -moz-user-select: none;
  -webkit-user-select: none;
  /* this will work for QtWebKit in future */
  -webkit-user-drag: none;
}

If you are facing any sort of problem to block right click in your blog then you can comment. Do you like this cool trick, you may also like to subscribe to our free newsletter.

More Hacking Tricks


Ads by Google
If you enjoyed reading this article then please leave a comment or subscribe to our newsletter to get all the future posts delivered to your feed reader or you email desk.

No comments:

Leave a Reply

Welcome to SpicyTweaks.

Copyright © 2013-17 SpicyTweaks. All Rights Reserved.

Scroll to top