Tack Chen
Tack Chen
感谢反馈,下个版本会考虑。
@qwIvan 这个是独立的行为,你额外加监听就可以 ```js window.addEventListener('keydown', (e) => { const keyCode = e.keyCode || e.which; if ( keyCode === 123 ) { alert('xxxxxx'); } }); ``` 亲测有效
可以通过 ondevtoolopen 事件来实现你要的效果 @tom-style
感觉可能和都劫持了console有关系 我记个todo后续有空看下
现在可以的啊 ```js DisableDevtool({ ondevtoolopen(type, next){ alert('Devtool opened with type:' + type); next(); // 这个next如果不调用就没有默认行为 } }); ```
@Mubelotix So please tell me why content producers cannot take some measures to try to protect their labor results.
I know there is no way to protect the client. So what I said is to try to protect it. In addition, if the website owner doesn't want you to...
I'm sure it's a translation issue @Mrgaton
触发了类型是什么有记录吗? @qq707631575 先只开一个type 6 试试看 DisableDevtool({ detectors: [6] });
@nww57 感谢指出 这是个bug 确实应该像下面那样输出