[GH-ISSUE #41] [FEAT] Detect Eruda #20

Closed
opened 2026-03-01 14:33:55 +03:00 by kerem · 2 comments
Owner

Originally created by @DerGoogler on GitHub (Jun 25, 2022).
Original GitHub issue: https://github.com/AEPKILL/devtools-detector/issues/41

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 👍🏼

Originally created by @DerGoogler on GitHub (Jun 25, 2022). Original GitHub issue: https://github.com/AEPKILL/devtools-detector/issues/41 This lib doesn't detect [Eruda](https://github.com/liriliri/eruda) Eruda can be loaded over an bookmark with: ```js 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](https://user-images.githubusercontent.com/54764558/175788554-2d814311-8833-4306-a507-449bda9989f0.png) Would be nice, to make an detection 👍🏼
kerem 2026-03-01 14:33:55 +03:00
Author
Owner

@AEPKILL commented on GitHub (Jun 27, 2022):

Can detect now.

<!-- gh-comment-id:1167061494 --> @AEPKILL commented on GitHub (Jun 27, 2022): Can detect now.
Author
Owner

@DerGoogler commented on GitHub (Sep 21, 2023):

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() } })();
<!-- gh-comment-id:1729291537 --> @DerGoogler commented on GitHub (Sep 21, 2023): Workaround ```js 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() } })(); ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/devtools-detector#20
No description provided.