A Botble CMS plugin to disable right-click, text selection, and developer console on your website to protect your content.
- Disable Right Click: Prevent users from using right-click context menu
- Disable Text Selection: Prevent users from selecting and copying text
- Disable Developer Console: Automatically reload page when DevTools/Console is opened
- Keyboard Shortcut Blocking: Block common shortcuts like F12, Ctrl+Shift+I, Ctrl+U, etc.
- Multi-language Support: Translations available in 42 languages
- Botble CMS 7.6.0 or higher
- PHP 8.2 or higher
Go to the Admin Panel and click on the Plugins tab. Click on the "Add new" button, find the FOB Disable Right Click plugin and click on the "Install" button.
- Download the plugin from the Botble Marketplace.
- Extract the downloaded file and upload the extracted folder to the
platform/pluginsdirectory. - Go to Admin > Plugins and click on the Activate button.
Navigate to Admin Panel → Settings → Disable Right Click to configure:
-
Disable Right Click (Enabled by default)
- Prevents right-click context menu
- Blocks keyboard shortcuts (F12, Ctrl+Shift+I, Ctrl+Shift+J, Ctrl+U, etc.)
-
Disable Text Selection (Disabled by default)
- Prevents text selection with mouse
- Prevents text copying
-
Disable Developer Console (Disabled by default)
- Detects when DevTools/Console is opened
- Automatically reloads the page when detected
The plugin injects JavaScript code into your website's frontend that:
- Intercepts right-click events and prevents the context menu
- Blocks keyboard shortcuts commonly used to inspect page source
- Applies CSS styles to prevent text selection
- Monitors browser window size and console access to detect DevTools
- Only runs on public pages (not in admin panel)
For better content protection, consider:
- Watermarking images
- Using proper copyright notices
- Implementing server-side security measures
- Using CDN protection services
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email friendsofbotble@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
