WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by SwiftNinjaPro v3.2.1

Developer Tools Blocker

This plugin blocks non-admin users from using inspect element, while still allowing access those with manage_options permission.

Developer Tools Blocker

The facts

Rating
4.2★ from 15
Active installs
400+
Price
Free
Last updated
9 Nov 2022
Added
Feb 2019
Requires WP
3.0.1
Tested up to
WP 5.8.15
Requires PHP
5.2.4
Downloads
15,398

Our analysis

AI-assisted

Developer Tools Blocker is a WordPress plugin designed to restrict non-admin users from accessing browser developer tools, such as the inspect element feature. It allows users with the manage_options permission to retain access while blocking common key commands and right-clicks for others. The plugin also includes functionality to detect if users have developer tools open on other sites before visiting yours.

This plugin is aimed at website administrators who want to enhance security by limiting access to certain development features for non-admin users. It is particularly useful for developers looking to protect their site's code from being easily inspected or manipulated.

Best for: Website administrators and developers looking to restrict access to developer tools for non-admin users.

What it does well

  • Blocks non-admin users from using inspect element
  • Allows access for users with manage_options permission
  • Can block common keys and right-clicks for non-admins
  • Detects browser console activity based on lag
  • Compatible with most browsers

Where it falls short

  • May require good site performance for accurate lag detection
  • Limited information on compatibility with all browsers

Verdict

Developer Tools Blocker provides a straightforward solution for limiting access to developer tools, but its effectiveness may vary based on site performance.

From the developer

SwiftNinjaPro's own description of Developer Tools Blocker, lightly tidied.

This plugin blocks non-admin users from using inspect element, while still allowing access those with manage_options permission.
The plugin also blocks some of the common keys(f12, ect.) and optionally can block right-clicks for non-admin users.
Admins are unaffected by the plugin entirely. This plugin is also able to block users who open developer tools on another site, before visiting your site.

Version 3.0 update

This plugin is now fast and accurate, and should work on most browsers.
This plugin can detect the browser console based on lag increased by opening the console. This detection is tough for a browser to prevent or get around.
The detection runs fast, and has some resistance to lag spikes.

Lag detection does mean your site needs to have ok performance, but when testing it, I could play 10 of 10 youtube videos all at once without a false positive.
During my tests, detection was still within the second I open dev tools, and successful if I go to the page with it already open.
I tested this in chrome, firefox, and chromium.
I also tested this on my somewhat slow website with tons of wordpress plugins installed (and the 10 videos at once test) without false positives.

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for developer tooling.

WPCode

WPCode

93

Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...

Free 3M+ installs 4.9★ (1,873)
Header Footer Code Manager

Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for an...

Free 600k+ installs 4.9★ (309)
Admin and Site Enhancements

Duplicate post, post order, image resize, email via SMTP, admin menu editor, custom css / code, disable gutenb...

Free 200k+ installs 5★ (421)
Shortcoder

Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the shortcodes wit...

Free 100k+ installs 4.9★ (227)
Insert PHP Code Snippet

Add PHP code to your pages and posts easily using shortcodes.

Free 90k+ installs 4.9★ (705)
Code Snippets

An easy, clean, and simple way to enhance your site with code snippets.

Free 1M+ installs 4.7★ (509)