=== Disable Right Click RB ===
Contributors: rbplugins
Tags: no right click, content copy protection, copy protection, disable right click, prevent copy
Requires at least: 5.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 2.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Disable right click, text selection and copy paste. Content copy protection for WordPress: protect text and images, prevent copying, add watermarks.

== Description ==

Worried about your text and images being copied without permission? **Disable Right Click RB** is a lightweight content copy protection plugin for WordPress. It lets you disable right click, disable text selection, block copy and paste shortcuts and stop image dragging — so visitors can't simply copy your articles, save your photos or grab your product descriptions.

Unlike most "no right click" plugins with a single on/off switch, every protection here is independent. Turn on only what your site needs, protect the whole site or only selected posts, pages and custom post types, and exempt your own team by user role, so editors and administrators keep copying, quoting and editing as usual.

📖 [Plugin Overview](https://rbplugins.com/wordpress-plugins/disable-right-click-rb/) | 📚 [Documentation](https://rbplugins.com/docs/disable-right-click-rb/) | 💎 [Pricing & PRO](https://rbplugins.com/wordpress-plugins/disable-right-click-rb/#pricing)

https://youtu.be/O1_dsh8faEU

🔒 **Why protect your content?**

Original writing, photography, recipes, course material and product images take time and money to create. Copy-paste theft and image scraping turn up as duplicate content elsewhere, hurt your search rankings and put your work on someone else's site. Disable Right Click RB adds a practical anti-copy layer that discourages content theft without slowing your site down or breaking navigation, links and scrolling.

It is a good fit for:

* ✍️ **Bloggers and publishers** — prevent copying of articles and protect text content from scrapers and copy-paste
* 📸 **Photographers and artists** — disable right click on images, block "Save image as" and image dragging, and watermark photos with PRO
* 🛒 **Online stores** — protect product descriptions and product photos from competitors
* 🎓 **Course creators and membership sites** — protect lessons and premium pages from casual copying
* 🍲 **Recipe, news and niche sites** — keep your unique content on your own site

Version 2.0.0 is a complete rewrite: a new settings screen, per-content-type scope, role exceptions, a customizable notice message and an optional PRO add-on for real image watermarking and advanced protection rules. Settings from version 1.0.x are migrated automatically.

🛡️ **Free Features**

* 🖱️ Block the right-click / context menu
* 🔤 Block text selection
* ⌨️ Block copy, cut, paste and select-all keyboard shortcuts (Ctrl/⌘+C/X/V/A)
* 🖼️ Block dragging images out of the page
* 🎯 Apply protection everywhere, or only on selected content types (posts, pages, custom post types)
* 👤 Exempt specific user roles (editors, admins) from all restrictions, so your own team keeps working normally
* 💬 Show a short, customizable message when a blocked action is attempted
* 🕵️ Advanced: best-effort blocking of view-source shortcuts (Ctrl/⌘+U, F12, Ctrl+Shift+I/J/C) and a DevTools-open indicator

No page reload needed to save settings, no heavy scripts, and no theme or template edits required.

💎 **PRO Features**

The PRO add-on (a separate, sold-separately plugin) unlocks:

* 🖼️ **Real image watermarking** — tile your logo or site text across every image, either as a fast CSS overlay or a real server-side embed
* 💾 **Embedded mode survives downloads** — the watermark is baked into the image file itself, not just drawn on top, so it survives "Save image as"
* 🎯 **Exclude images from watermarking** by filename pattern or minimum size
* 🌐 **Precision scope** — extend protection to search results, the 404 page, the login screen, author pages, category/tag archives, and the front page
* 🔒 **Opposite Mode** — protect *only* a specific list of URLs instead of the whole site
* 🔗 **Element allowlist** — keep specific links, buttons, or code blocks copyable with a CSS selector, while everything else stays protected
* 🛠️ **DevTools reaction** — go beyond a passive indicator: blur the page content or redirect the visitor away while DevTools is open
* 📴 **NoScript fallback** — a baseline CSS protection layer for visitors with JavaScript disabled

📖 [Plugin Overview](https://rbplugins.com/wordpress-plugins/disable-right-click-rb/) | 📚 [Documentation](https://rbplugins.com/docs/disable-right-click-rb/) | 💎 [Pricing & PRO](https://rbplugins.com/wordpress-plugins/disable-right-click-rb/#pricing)

🔌 **Also by rbPlugins**

* [Disable Comments RB](https://wordpress.org/plugins/disable-comments-rb/)
* [Duplicate Post RB](https://wordpress.org/plugins/duplicate-post-rb/)

== Installation ==

1. Upload the `disable-right-click-rb` folder to `/wp-content/plugins/`, or install directly through the Plugins screen in WordPress.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to **RB Plugins → Disable Right Click** in your admin menu.
4. Choose what to block, where it applies, and which roles are exempt, then save.

No coding or theme editing required.

== Frequently Asked Questions ==

= How do I enable content protection? =

Go to **RB Plugins → Disable Right Click** in your WordPress admin, tick the protections you want under the Protection tab, and save. Changes apply immediately, no page reload needed.

= Will this stop someone determined from copying my content? =

No client-side technique can guarantee that — a determined visitor can still view page source, use browser reader tools, or take a screenshot. This plugin deters casual copying and unauthorized right-click/save actions; for real image protection, see the PRO watermarking add-on, which survives downloads.

= Can I protect only some pages, not the whole site? =

Yes. Under the Protection tab, switch "Where" to "Only on selected content types" and tick the post types you want. PRO adds finer scope control (search, 404, login, archives, or a specific list of URLs).

= Will my editors/admins still be able to select and copy content? =

Yes — add their role under "Exceptions" in the Protection tab. Exempted roles skip all restrictions on every page.

= Is the "Block copy/cut/paste" option safe to use on pages with forms? =

Yes. Since version 2.0.2 the copy, cut, paste and select-all shortcuts are blocked on the page content only: inside input fields, text areas and editable areas visitors can still type, select, copy and paste — so contact forms, comment boxes, checkout and login fields keep working. Right-click and text selection protection leave form fields alone in the same way.

= Does this plugin slow down my site? =

No. It's a small, dependency-free script that loads only where protection is actually enabled.

= Is the PRO version required? =

No, all core protection features are free and fully functional. PRO adds watermarking and a few advanced scope/behavior controls on top.

= I'm upgrading from version 1.0.x — will my settings carry over? =

Yes. The old single on/off switch is migrated automatically to the new granular settings (right click, selection, and image dragging are turned on, matching what 1.0.x actually did). Review the Protection tab after updating to fine-tune it.

== Screenshots ==

1. Protection tab — choose what to block (right click, text selection, copy shortcuts, image dragging), where protection applies, and which roles are exempt.
2. What visitors see — a short notice of your own when they try to right-click or drag a photo.
3. Advanced tab — view-source shortcut blocking and a DevTools indicator, with the PRO controls previewed in place.
4. PRO — image watermarking: your text or logo as a CSS overlay or embedded into the image file, with exclusions.
5. PRO — watermarked photos on the site, while exempt roles keep seeing the originals.
6. PRO — fine-grained control: precision scope, Opposite Mode, element allowlist and DevTools reaction.

== Changelog ==

= 2.0.2 =
* Fixed: form fields stay usable — visitors can type, select, copy and paste in input fields, text areas and editable areas (contact forms, comments, checkout, login) while the page content stays protected
* Settings screen: edits are marked "Unsaved changes", "Settings saved." fades after a few seconds, and leaving the page with unsaved changes asks first

= 2.0.1 =
* Settings screen: PRO options are now shown to free users, switched off and marked PRO, instead of an upsell card — see what the add-on gives you
* Settings screen: a compact one-line notice on the Advanced tab, and more room in the banner above the settings
* Fixed: PRO links now open the pricing section of the plugin's page
* Fixed: the Plugin URI pointed to an old address
* Fixed: with the PRO add-on, the "Login page" scope and login URLs in Opposite Mode now protect the login screen
* Fixed: no more "translation loading too early" notice in the debug log on WordPress 6.7+
* Fixed: the numbered steps in Hints were numbered twice

= 2.0.0 =
* Complete rewrite: new settings screen (Protection / Advanced / Watermark tabs), built as a Shadow DOM app — faster, no WordPress admin theme conflicts
* New: independent toggles for right click, text selection, copy/cut/paste shortcuts, and image dragging (previously one combined on/off switch)
* New: apply protection everywhere, or only on selected content types (posts, pages, custom post types)
* New: exempt specific user roles from all restrictions
* New: customizable on-screen message when a blocked action is attempted
* New: Advanced tab — best-effort view-source shortcut blocking and a DevTools-open indicator
* New: optional PRO add-on — real image watermarking (text or logo, CSS overlay or embedded), precision scope (search/404/login/archives/front page), Opposite Mode, element allowlist, DevTools reaction, NoScript fallback
* New: PRO promo card on the settings screen
* Tested up to WordPress 7.1
* Existing 1.0.x settings are migrated automatically to the new options — no action needed after updating

= 1.0.10 =
* Disable right click rb WordPress 6.8 compatibility

= 1.0.9 =
* Disable right click rb WordPress 6.7 compatibility

= 1.0.8 =
* Disable right click rb WordPress 6.5 compatibility

= 1.0.7 =
* Disable right click rb WordPress 6.2 compatibility

= 1.0.6 =
* Disable right click rb WordPress 6.1 compatibility

= 1.0.5 =
* Disable right click rb Wordpress 6.0 compatibility

= 1.0.4 =
* Fixed small issues

= 1.0.3 =
* Disable right click rb Wordpress 5.9 compatibility

= 1.0.2 =
* Added new menu mode.

= 1.0.0 =
* First release of the Disable Right Click plugin.

== Upgrade Notice ==

= 2.0.2 =
Copy and paste protection no longer blocks form fields: contact forms, comments and login fields keep working.