Today I will show you 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:
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.
Step 3: Clicking the Edit Html button will open a page.
Click anywhere on that page and press ctrl + F. Search for '</head>' in the search box.
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.
<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>
You can copy the code by double clicking
If you follow all the above steps, you will definitely succeed. So finish the task by following each step.