Monday, March 8, 2021

HOW TO PREVENT RIGHT CLICKING ON IMAGES IN BLOGSPOT, BLOGGER

Hi guys, in some cases you might not want visitors to right click on your blog. In today, I will guide you how to prevent Right-Clicking on an image in Blogger is extremely simple: D, let's do it.


STEPS TO BE TAKEN

Step 1: On the Form, HTML editor and add the following code before  the </body>

Code

<script type = 'text / javascript'>
$ ('body'). on ('contextmenu', 'img', function (e) {return false;});
</script>

Step 2: Save the Template

EPILOGUE

Just that simple, if you have any questions during the process, please leave a comment below, I will reply to your comments as soon as possible!

Good luck! 

0 Comments

Post a Comment