No Right Click Images Plugin

No Right Click Images Plugin | Keith P. Graham

Description

The No Right Click Images Plugin Plugin uses JavaScript to change the right click action on IMG tags to disable the context menu. It disables the context menu on images only so other right click actions, such as links, should work normally.

Optionally the plugin can be disabled for logged in users.

Since it uses JavaScript, it targets more images than using plugins that filter pages and rewrite the tag. The plugin will find many images generated in scripts or pasted into posts and comments, that similar plugins will not find.

It is impossible to keep people from stealing images that appear in web pages, but this plugin will deter casual theft from surfers who do not want to interpret HTML or dig into the browser cache.

Smart Phone support is hit or miss. Some web pages rely very much on clickable images and this suppresses some actions, so if an image is large enough to fill a screen, the page may not be able to scroll. It depends very much on your WordPress theme and how it displays images.

Images uploaded via the WordPress Media uploader will open in a window if clicked. The image will not be protected, so be sure to indicate that there should be no action if the image is clicked at the time you upload the image.

Some browsers prevent JavaScript from changing the browser context menu and this plugin will not be effective in those cases. At best, this plugin will prevent right clicking or dragging images on some browsers.

The plugin no longer tries to replace images with a dummy image. This method hardly ever worked and broke many web pages. If you want to go back, the 2.5 version may be available in the WordPress archive.

Support

= Rate the Plugin =
This plugin is free and I expect nothing in return. Please rate the plugin at: https://wordpress.org/extend/plugins/no-right-click-images-plugin/

Buy my book

If you wish to support my programming, buy my book:
https://www.facebook.com/BlogsEye/ : Error Message Eyes: A Programmer’s Guide to the Digital Soul

Other Plugins

  • I am a contributor to https://wordpress.org/plugins/astounding-spam-prevention which is a very powerful anti spam plugin.
  • I have also written https://wordpress.org/plugins/open-in-new-window-plugin which forces external links to open in a new window.

Installation

  1. Download the plugin.
  2. Upload the plugin to your wp-content/plugins directory.
  3. Activate the plugin.

Plugin author

Keith P. Graham

Plugin official website address

https://wordpress.org/plugins/no-right-click-images-plugin/
If you encounter problems in using the No Right Click Images Plugin plugin, you can comment below, and I will try my best to help you solve the problem

Leave a Comment

Your email address will not be published.