TWebDevTools
Delphi TMS WEB Core Component to disable web developer tools from the F12 button, right-click and browser menu
- Quiet · last change 4-22-2024
- ★ 7 on GitHub
README
TWebDevTools
Delphi TMS WEB Core Component to disable web developer tools from the F12 button, right-click and browser menu.
Install Instructions
- Open
TMSWEBDevTools.dprojin theComponent Library Sourcefolder within your Delphi IDE. - Install
TMSWEBDevTools.bpl(You can do this by right-clicking on it in the Projects Window and then clicking on Install). - Add the
Core Sourcefolder to your Library Paths. You can find the Library Paths underTools>Optionsand then go toLanguage>Delphi>Library.
Usage Instructions
Simply drop the TWebDevTools component onto your form and use it via the Enabled property.
Enabled = True
If Enabled is true, then you're able to open the browser's developer tools.
This is also the default value for Enabled.
Enabled = False
If Enabled is false, then you're not able to open the browser's developer tools.
FAQ
What happens if someone manages to open the browser's Developer Tools?
The web page will instantly close itself if it detects that someone has managed to open the browser's Developer Tools
What browsers are supported?
| Browser | Works |
|---|---|
| Microsoft Edge | ✅ |
| Google Chrome | ✅ |
| Mozilla Firefox | ✅ |
| Apple Safari | Not Yet Tested |
| Internet Explorer | ✅ |
| 360 Browser | ✅ |
| QQ Browser | ✅ |

