Right Click Ban – Content Protection

Description

Right Click Ban – Content Protection helps keep your website content safe. We built this simple tool to disable right click and provide robust copy protection. It works quietly to protect your hard work.

This plugin is a great fit if you are:
* A photographer looking to protect your images.
* A blogger wanting to keep your articles original.
* A business needing to secure sensitive data with reliable content-protection.

By turning off the right-click menu and blocking copy-paste, you get more control over your site. It only runs for your visitors, so your work as an admin stays exactly the same.

Upgrade to Right Click Ban and Content Protection Pro

User Live Demo Right Click Ban and Content Protection Pro Live Demo

How to Disable Right Click

The plugin blocks actions that people normally use to copy your content.

Here is what it does:
* Hides the right-click menu.
* Stops text from being highlighted.
* Blocks users from dragging and dropping your images.

Copy Protection Benefits

  • Keeps Content Safe: Lowers the chance of someone stealing your text.
  • Protects Images: Makes it hard to download your photos.
  • Stays Fast: Uses clean code so your page load speed is not hurt.
  • Easy to Use: Just flip a switch to turn features on or off.

Free content-protection Features

  • Right Click Disable: Blocks the context menu on your website to prevent “Save Image As” and “Copy”.
  • Text Selection Blocking: Disables the ability to highlight and copy text from your pages.
  • Image Drag Prevention: Stops users from dragging images to their desktop to save them.
  • Link Drag Prevention: Prevent hyperlinks from being dragged to bookmarks, new browser tabs, or external applications.
  • F12 Key Blocking: Prevents the use of the F12 key to open developer tools.
  • Extended Keyboard Protection: Block common shortcuts like Ctrl+C (Copy) and Ctrl+U (View Source).
  • Mobile Protection: Option to enable/disable protection features specifically for mobile devices.
  • Daily Block Counter: Track blocked events in real-time with a dashboard counter.
  • Custom Alert Message: Option to display a modern modal notification when a restricted action is attempted.
  • Admin Access: Usage remains unrestricted for logged-in administrators if configured.
  • Basic Analytics: Track how many times right click protection and other features are triggered on your website.
  • Data Control: New “Reset Statistics” feature and “Delete Data on Uninstall” option for full user control.
  • Privacy Ready: Built-in support for WordPress Privacy Policy suggestions (GDPR friendly).
  • Browser Compatibility: Right Click Ban works on all major browsers including Chrome, Firefox, Safari, Edge, and Opera. Mobile browsers are also supported, with long-press context menus blocked on touch devices.

Premium Features Overview

The Pro version extends content protection with advanced capabilities. Here is what you unlock with the premium edition:

Custom Modal Popup – Replace standard browser alerts with professionally styled popup dialogs. Choose from 7 visual themes including Light, Dark, Glass, Neon, and Sunset. Select from 4 animation styles: Fade, Slide Up, Bounce, and Zoom. Customize the title, message text, and button label. Set auto-dismiss with countdown timer.

Keyboard Shortcut Blocking – Block 18 or more keyboard shortcuts including Ctrl+C (Copy), Ctrl+V (Paste), Ctrl+A (Select All), Ctrl+S (Save Page), Ctrl+P (Print), Ctrl+U (View Source), Ctrl+Shift+I (DevTools), Ctrl+Shift+C (Inspector), Ctrl+Shift+J (Console), F3 (Find), and F7 (Caret Browsing). Mac Command key equivalents are also blocked.

Developer Tools Detection – Detect when browser DevTools is opened through any method. Choose from three response actions: show a warning alert, redirect to another URL, or hide all page content. Customize the warning message or specify a redirect destination.

Focus Loss Detection – Detect when visitors switch browser tabs or minimize the window. Useful for catching screenshot extension activity. Choose an action: show alert, blur page content, display overlay, or redirect to another page.

Print Protection – Block the browser print function. Prevents Ctrl+P shortcut and window.print() JavaScript calls. Shows a custom message when printing is attempted.

Image Watermark – Add a CSS text overlay on all images across your website. Customize the watermark text, choose from 6 positions including center and tiled, and adjust opacity from 10 to 100 percent.

Mobile Protection – Long-press protection with configurable duration from 200ms to 2000ms. Multiple alert styles including popup, toast notification, and vibration. Gesture detection, screenshot detection with blur protection, and Force Touch protection for iOS devices.

IP Address Blocking – Block access from specific IP addresses or IP ranges using CIDR notation. Customize the block page message and colors. Track blocked visitor analytics.

Country Blocking – Block visitors from 80 or more countries. Searchable country list with flag icons. Bulk select and deselect options. Custom block message per region. Analytics showing top blocked countries.

Spam Bot Blocking – Automatically block 40 or more known malicious bots, scrapers, and content thieves. Add custom bot signatures to your blocklist. Enable rate limiting to stop aggressive request patterns. Set requests per minute threshold.

Page Exclusions – Select specific pages and posts where protection should be disabled. Searchable list interface with bulk selection.

Role-Based Protection – Control which WordPress user roles see protection. Administrators, Editors, Authors, Contributors, and Subscribers each configurable independently.

Per-Page Settings – Override global protection settings on individual pages or posts. Force enable or force disable protection per page using a meta box in the editor.

Advanced Analytics – Comprehensive statistics dashboard with 7-day activity charts, event breakdown by type, top blocked countries chart, browser and device analytics, real-time threat feed, and CSV export for reporting.

Screenshots

  • Settings panel with protection options
  • Analytics dashboard showing blocked events
  • Protection active on frontend

Installation

  1. Go to Plugins and then Add New in your WordPress dashboard
  2. Search for Right Click Ban
  3. Click Install Now and then Activate
  4. Navigate to Right Click Disable in your admin menu
  5. Configure your protection settings
  6. Click Save Settings

You can also upload the plugin manually:

  1. Download the plugin zip file
  2. Go to Plugins and then Add New and then Upload Plugin
  3. Choose the zip file and click Install Now
  4. Activate and configure from the Right Click Disable menu

FAQ

Does right click disable checking affect SEO?

No. Search engines like Google crawl the source code directly. This plugin only affects user interaction in the browser, so your SEO ranking is safe.

Can I use this plugin for 100% copy protection?

While this plugin significantly reduces casual theft by blocking common methods like right-click and copy-paste, no frontend solution can offer 100% copy protection against determined technical users. It serves as a strong deterrent for the vast majority of visitors.

Will this content-protection plugin slow down my site?

No. The plugin is built with performance in mind. It uses minimal, inline JavaScript and does not load heavy external libraries, ensuring your page load times remain fast.

How do I disable protection for administrators?

By default, the plugin settings allow you to enable or disable protection for logged-in users. You can configure this in the “Admin Control” section of the settings page.

Can I customize the alert message?

Yes. You can enable a custom alert and enter your own text to inform users why right-click is disabled on your site.

Reviews

Qawıs 6, 2019
So the initial set up is a little confusing word wise and I originally set it up to disable right click for admins only ‘:D But I fixed it. It doesn’t seem to work on my homepage very well (even after purging cache) but it’s working on the rest of the site so far. The pop up is kind of annoying when you accidentally right click because you have to close it to continue; I would prefer it to just block right clicks and let people keep scrolling. Someone who is smart will realize right-click is disabled and go on about their day. But I feel better knowing people actually have to put in a little bit of effort to take my images now 😀
Read all 2 reviews

Contributors & Developers

“Right Click Ban – Content Protection” is open source software. The following people have contributed to this plugin.

Contributors

“Right Click Ban – Content Protection” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Right Click Ban – Content Protection” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.2.0

  • Date: 18 May, 2026
  • Security: Hardened all administrative actions with capability checks and nonces.
  • Security: Implemented wp_unslash() for data integrity across all settings.
  • Privacy: Added “Delete Data on Uninstall” option for full user data control.
  • Ethics: Removed hostile debugger traps from frontend protection logic.
  • UX: Added dynamic “Protection Level” calculation in settings header.
  • UX: Added “Reset Statistics” feature with secure confirmation dialog.
  • Performance: Centralized asset enqueuing in main plugin file via standard hooks.
  • Performance: Implemented conditional asset loading for Modal features to reduce page weight.
  • Performance: Added static caching for plugin settings to minimize database queries.
  • Architecture: Switched to official wp_is_mobile() standard for reliable device detection.
  • I18n: Fully translatable AJAX responses and added base translation template (.pot).
  • Privacy: Integrated official WordPress Privacy Policy content suggestions.

2.1.0

  • Date: 28 March, 2026
  • New (Ported): Added Extended Keyboard Protection (Disable Ctrl+C and Ctrl+U).
  • New (Ported): Added Mobile Protection Toggle for Granular Control.
  • New (Ported): Added Daily Block Counter in the Settings Dashboard Header.
  • New: Added modern, premium modal popup protection message (replaces browser alerts).
  • Hardened: Enhanced DevTools detection with timing-based protection.
  • Hardened: Added instant protection triggers on browser blur/focus loss for improved security.
  • Improved: Modernized settings UI with better mobile responsiveness and premium aesthetics.

2.0.1

  • Date: 15 February, 2026
  • Fixed custom alert message not displaying on the frontend
  • Fixed F12 key blocking not working due to settings key mismatch
  • Switched to JavaScript-based blocking for text selection, image drag, and link drag to enable analytics tracking
  • Fixed image drag still blocked when only link drag protection was enabled
  • Added Ctrl+Shift+I blocking alongside F12 for enhanced developer tools prevention
  • Improved event handling with capture phase listeners for more reliable protection
  • Security improvements: added proper input sanitization and escaping for database queries
  • Removed discouraged load_plugin_textdomain function
  • Code quality improvements for WordPress coding standards compliance

2.0.0

  • 2026-02-2
  • Major update with completely rewritten codebase
  • New modern settings interface with tabbed navigation
  • Added F12 key blocking for developer tools prevention
  • Added protection analytics to track blocked events
  • Added admin control for applying protection to administrators
  • Improved text selection blocking with CSS-based solution
  • Enhanced image and link drag prevention
  • AJAX-based settings save with toast notifications
  • Documentation page with feature overview
  • Improved browser compatibility especially Safari
  • Performance optimizations for faster loading

1.4.0

  • Added link drag prevention feature.
  • Fixed conflict between image and link drag blocking.

1.3.0

  • Added text selection prevention.
  • Added image drag prevention.

1.2.0

  • Added custom alert message toggle.
  • Added message text customization.

1.1.0

  • Added show or hide alert option.

1.0.0

  • Initial release.