About   All Tips   Tips by Category   Tips by Ability   Help!

Image Protection: Disable Right Clicking

Several people have asked me how to prevent people from stealing the photos on their blog. Unfortunately NO photo that is displayed on the internet is 100% safe from piracy. However, there are things that you can do to help slow down people who wish to steal your stuff. Disabling right-clicks is one of them.

Keep in mind that if you disable right clicks that people will NOT be able to right click on anything on your blog. If one of your readers wants to right click to open a link in a new window or to copy anything from your blog, they will not be able to do so. I experimented with this the other day and forgot to enable right clicks again, which prevented people from being able to right click and copy the codes and such in my posts. Oops! Should have used a practice blog.....

This tip is a beginner tip. You will simply be adding a gadget on your page elements page. If you make a mistake, simply remove the gadget and begin again. Easy peasy. :)

To Disable Right-Clicking:
1. Copy the code in the big box on this post written by MaXimus over at Dynamic Drive.
2. Go to your page elements page (dashboard-->layout-->page elements)
3. Click on 'add a gadget'.
4. Select 'HTML/Javascript'.
5. Paste the code that you copied in step 1 into the box. You can change the words 'Function Disabled!' to whatever message you'd like to display when someone right clicks on your blog. Be sure to leave the quotation marks!
6. Save.

You can also do this within the HTML of your template by following the tutorial that accompanies the code from step 1 over at Dynamic Drive.

Hope this helps! :)

Like my tips? Want to share them with your readers? I would LOVE for you to do so by grabbing my button and displaying it on your blog or by writing a post about my tips. Please do not copy and paste my tips into a post on your own blog. Thanks so much for spreading the word. I REALLY appreciate it!


purple_simplez said...


purple_simplez said...


Justlittlecajunme said...

Hopped on over from C. Philips Pinterest. Interesting blog you have here that I will be coming back to!


FranksGreenGirl said...

I'm going to try this on my blog today. Apparantly there are some sneaky Pinterest users who like to take credit for others' hard work. I'll snag one of your buttons and return the favor from my lil spot on the web. Thank you kindly for the info.

Some Difference said...

Thanks for the tip. I put it on my blog www.somedifference.com

website design said...

Thank you so much! I've been wanting to find out how to do this. It was so easy thanks to you! This is a great blog--so informative!
website design

hannah1318 said...

Thank you for this step by step guide to disabling the right click function!

Surabhi Lal said...