How to Turn off the Mouse Right Click Function on Blogger

1 min read
Hello friend, come back again with TopBlog Pk, on this occasion TopBlog Pk will share a blogger tutorial entitled How to Turn Off the Mouse Right Click Function on Blogger , and hopefully this tutorial is useful for all of you.

Turning off the right-click function is something that is important to me, because with this people will not be able to inspect our blog, provided that people can still copy our articles by doing CTRL + C and CTRL + V, maybe in another article I will discuss ways so that the article cannot be pasted by another person.


Interested ? if interested just look at the tutorial below.

How to Disable the Right Mouse Click Function on the Blog

1. First, enter your Blogger Dashboard.
2. Enter the Theme Menu Edit HTML.
3. Search Code
</body> after finding it, place the code below right above the code.


<script> var message="Not Allowed"; var shouldAlert=1; document.oncontextmenu=function(){ if(shouldAlert==1){   alert(message); } return false; }; </script>

4. Save the theme.
Closing ❗ How bro, it's really easy to apply the tutorial to turn off the function on the right-click on the blog, and thanks for those of you who have taken the time to read and maybe apply this tutorial from TopBlog Pk, hopefully useful.

You may like these posts

Post a Comment