2.4 KiB
2.4 KiB
Version Log:
0.0.1
- Support configurable whether to disable the right-click menu
- Disable f12 and ctrl+shift+i shortcuts
- Support recognition to open the developer tools from the browser menu bar and close the current page
- Developers can bypass the disabling (use tk and md5 encryption for url parameters)
- Support almost all browsers
- Highly configurable
- Minimal use, small size (only 7kb)
- Support npm reference and script tag reference (attribute configuration)
0.0.2
- Solve the bug of invalid CDN file
0.0.3
- Solve the problem of native methods such as alert that will affect debug timing
- Resolve the page and the background will affect the debug timing.
- Compatible with ie, the disableMenu parameter is invalid under ie, because the right-click under ie will block the main process and cannot monitor
- Add config.stopIntervalTime to indicate the waiting time for canceling monitoring on the mobile terminal
- Optimize the logic of judging the opening of the developer tool
0.0.4
- Modify webpack packaging configuration
0.0.5
- Optimize onDevToolOpen event trigger logic
0.0.6
- For the label attribute configuration, remove the id='disable-devtool' condition and use the disable-devtool-auto attribute
- Modify the readme
0.1.0
- Fix the invalid problem under firefox and qq browser
- Enable disableMenu configuration
- Remove internal debug logic
- Add the default redirect 404 page
0.1.1
- Increase the delay of jumping to the default page after history.back
- Optimize ondeltoolopen logic
0.1.2
- Add the judgment of the document to adapt to the server-side rendering npm call
0.1.3
- Fix the bug that disableMenu parameter is invalid
0.1.4
- Add detector, add multiple monitoring modes
- Use logTime mode, compatible with mac and linux
- Add the clearIntervalWhenDevOpenTrigger parameter
- ondevtoolopen adds monitoring mode callback parameters
0.1.5
- Remove the log-time monitoring type (because of inaccuracy)
0.1.6 - 0.1.7
- Add DateToString monitoring type
- Add FuncToString monitoring type
- Add detectors configuration
- Fix ios 15 accidental injury problem
0.1.8
- Disable macos option+commond+i
- Delete some debugging code and useless code
- Modify the event model
0.1.9
- Fix the bug of accidental injury in IFrame
0.1.10
- Fix the problem that sizeDetector is accidentally injured in browser zoom mode