How to Disable Right Click on Blogger Images

Many people want to protect their images from stolen or used by others. So we are going to share about how to Disable Right Click on Blogger images and context menu on images. By using this trick you can protect pictures from being copied.
How to Disable Right Click on Blogger pictures, images

How to Disable Right Click on Blogger Images

1. Go to template
2. Edit HTML and find <head>
3. And paste the given code just below <head>
<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 = "Right click on images has been disabled";
document.oncontextmenu = nocontext;
//]]>
</script>
4. Change the alertMsg text in between quotes with your choice
5. Save and Done.

How to Disable right click on a single image

To disable right click on a single image follows these steps.
1. Go to Post editor
2. Switch in HTML mode
3. Find img tag of that image and put this code
oncontextmenu='alert("Image context menu is disabled");return false;'
4. And publish.

Example of img tag and inserted code

<img oncontextmenu='alert("Image context menu is disabled");return false;' border="0" src="https//www.abhishekindora.com/exampleimage.JPG" /> 

We hope that it helped you. If you think that the article on How to Disable Right Click on Blogger Images can help someone then please make a share to them.



Sharing is Caring...

Name

ADSENSE,8,Blogging,27,General Tech,15,Make Money,5,Marketing,8,PC,3,SEO,7,Social Media,4,
ltr
item
Abhishek Indora: How to Disable Right Click on Blogger Images
How to Disable Right Click on Blogger Images
Many people want to protect their images from stolen or used by others. So we are going to share about how to Disable Right Click on Blogger images and context menu on images. By using this trick you can protect pictures from being copied.
https://1.bp.blogspot.com/-KVfPuAzMzJI/Xr53w_PrvkI/AAAAAAAADCg/sNNi8PyN3ZQwnQXDlBWWUSZI3jJpadM-QCLcBGAsYHQ/s1600/How%2Bto%2BDisable%2BRight%2BClick%2Bon%2BBlogger%2BImages.jpg
https://1.bp.blogspot.com/-KVfPuAzMzJI/Xr53w_PrvkI/AAAAAAAADCg/sNNi8PyN3ZQwnQXDlBWWUSZI3jJpadM-QCLcBGAsYHQ/s72-c/How%2Bto%2BDisable%2BRight%2BClick%2Bon%2BBlogger%2BImages.jpg
Abhishek Indora
https://www.abhishekindora.com/2020/05/how-to-disable-right-click-on-blogger-images.html
https://www.abhishekindora.com/
https://www.abhishekindora.com/
https://www.abhishekindora.com/2020/05/how-to-disable-right-click-on-blogger-images.html
true
7880739494318546033
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network where you shared this Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content