AEPKILL / devtools-detector

Detect if DevTools is open
https://blog.aepkill.com/demos/devtools-detector/
MIT License
1.11k stars 104 forks source link

[FEAT] Detect Eruda #41

Closed DerGoogler closed 2 years ago

DerGoogler commented 2 years ago

This lib doesn't detect Eruda

Eruda can be loaded over an bookmark with:

javascript:(function () { var script = document.createElement('script'); script.src="//cdn.jsdelivr.net/npm/eruda"; document.body.appendChild(script); script.onload = function () { eruda.init() } })();

Screenshot_20220625-214620_Chrome

Would be nice, to make an detection 👍🏼

AEPKILL commented 2 years ago

Can detect now.

DerGoogler commented 1 year ago

Workaround

javascript:(function () { var script = document.createElement('script'); script.src="//cdn.jsdelivr.net/npm/eruda"; document.body.appendChild(script); script.onload = function () { var oldEruda = eruda; eruda = undefined; oldEruda.init() } })();