Overview of disable-devtool features
masterThe disable-devtool library prevents users from accessing browser developer tools to protect source code. Key features include:
- Disabling right-click menus, shortcut keys (F12, Ctrl+Shift+I), and text selection/copy/cut/paste.
- Detecting devtools opened via browser menu bars and closing the page.
- Support for multiple monitoring modes across browsers (Chrome, Edge, Firefox, IE, etc.).
- Identification of mobile terminals and mobile-specific debugging tools like
erudaandvconsole. - Support for iframes (configuring all parent pages to be disabled).
- Ability to suspend and resume probe work.
- Bypassing protections via encrypted URL parameters (
tkandmd5).