How To Disable Right Click And Image Selection On Blogger

How to Disable Right Click and Image Selection in Blogger Homepage and Post Page Images? Disable Blogger's image selection option in 6 steps easily

Hello Guys, Welcome to the Mironiyar blogger tutorial. Today I will show you How To Disable Right Click And Image Selection On Blogger ?

How to disable right mouse click on images

How To Disable Right Click And Image Selection On Blogger

It is often seen that a picture of my web posts is on another person's website. Use of anything other than permission is copyright. It's never good to use copyrighted things. You also have to be careful that your things are not used by anyone else. So today's tutorial will come in handy.

Read more: Create a login or password protection page for Blogger website?

Disable Blogger's image selection option in 6 steps

Step 1: Copy the complete code from the code box below.

Step 2: Let's go to Blogger's Desboard. Now click on Blogger's Theme option.

How To Disable Right Click And Image Selection On Blogger

Step 3: Clicking the Edit Html button will open a page.

How To Disable Right Click And Image Selection On Blogger

Click anywhere on that page and press ctrl + F. Search for '</head>' in the search box.

How To Disable Right Click And Image Selection On Blogger

Step 4: You should always remember that you must have a backup before working on Edit html.

Step 5: Paste the copied code after the </head>.

Step 6: Finally, save by clicking the save button.

How To Disable Right Click And Image Selection On Blogger

Disable Right Click And Image Selection Code :


<script type="text/javascript">

//<![CDATA[

function nocontext(e) {

var clickedTag = (e==null) ? event.srcElement.tagName : e.target.tagName;

if (clickedTag == "IMG") {

alert(alertMsg);

return false;}}

var alertMsg = "Image context menu is disabled";

document.oncontextmenu = nocontext;

//]]>

</script>

If you follow all the above steps, you will definitely succeed. So finish the task by following each step.