Block stealing of Images and HTML from your blog

This is really a tricky question and to be frank, you can not stop people who are intended to copy the content from your blog. But still there is one way to block copying of HTML content. Say, you struggled to figure out a HTML that is unique(Eg. A FeedBurner Email Subscription Form) and then, you made it right after long hours in front of your PC. The next day, you find that widget in another blog. It will really irritate you a lot.

I'll show you a way to block this copying of images and other HTML stuff from your blogger page. For example, you can take a screen shot or screen capture of the page and reproduce that content. Then why this post? Answer is very simple. It is just a step towards more security. It makes things more difficult. This technique works out very well for stopping people who steal the HTML code from your template and to some extent the images. When it comes to blocking the content from your blog, it is not that effective because a simple CTRL+C will do the job.

The best way to stop people copying images is to disable the right-click option in your blogger page. You can do this simply by following these simple steps:
1. Go to "Layout->Edit HTML" from your dashboard. Always, you should make a backup of your template before modifying the HTML by clicking on the "Download full template" link at the top of the page first.
2. Search for the following code in your template.
<body>
3.Replace the above code with the following code.
<body oncontextmenu='return false'>
4. Save your template and then you may verify the "Right Click" option by yourself. It will be disabled.

Enjoyed the article?
Subscribe to this Blog via Email:

Click here to subscribe to FREE email updates from "Everything About Blogging", so that you do not miss out anything that can be valuable to you and your blog!

    Other Recommended Posts

  • Blogging Tips
Patrycja said on July 30, 2009 at 8:53 AM :

I see that works with the right click of the mouse, but the user can still drag the image off the web onto their desktop (pc). Any other advice?

Thanks!

REPLY
Suresh said on July 30, 2009 at 5:38 PM :

Yes!! You are absolutely right! But It is just a step towards safety. You need to create a Google Alert for your pictures. I will soon write a post about this content in my blog.

REPLY
Stacey said on August 9, 2009 at 2:09 PM :

Thanks! However when they click a photo to enlarge...it becomes savable again. :( Any way to make them non enlargeable when clicked on?

REPLY
Suresh said on August 9, 2009 at 2:15 PM :

Yes Stacey!! Your are absolutely right. It is very difficult to protect the photos and content copying with blog spot domains. If you host it in your own domain, there are ways to prevent the theft!

REPLY
Stacey said on November 12, 2010 at 4:02 PM :

Thanks! However when they click a photo to enlarge...it becomes savable again. :( Any way to make them non enlargeable when clicked on?

REPLY
mohan said on January 9, 2011 at 2:12 PM :

if u want to disable right click and text selection in ur blog post just add the script at the top of ur post in html section..u can search it in google...

example...
http://www.woophy.blogspot.com/

REPLY
mohan said on January 9, 2011 at 2:16 PM :

we can copy it any way with the page source(ctrl+u) copy(ctrl+c) paste(ctrl+v) thats it..nobody can stop it...just try to hide the page source...so dat nobody can steal it..but its very difficult to hide page source...m working on it...

REPLY
Mukund said on January 9, 2011 at 2:22 PM :

@mohan: Thanks for your comments Mohan! I completely accept with what you said. I have mentioned it in my post already. If one wants to steal it, he will!!!

REPLY
/\/\0#@/\/ said on January 9, 2011 at 7:29 PM :

is there any way to hide page source
or block keayboard shortcuts...?

REPLY
Mukund said on January 9, 2011 at 7:37 PM :

@/\/\0#@/\/: Thanks for the comment! There is no way to completely hide the page source. It's pretty easy to view the source code any web page.

REPLY
Aditya Samitinjay said on December 25, 2011 at 1:34 AM :

Hey Mukund,

Can you please tell me how to block google from crawling my images in blogger ?

REPLY
Mukund said on December 25, 2011 at 11:56 AM :

@Aditya Samitinjay: No! I'm not sure about that buddy!

REPLY

Use the tab below to comment. No spam please!!!

[netinsert=0.0.1.11.14.1]