mirror of
https://github.com/AEPKILL/devtools-detector.git
synced 2026-04-26 23:15:48 +03:00
[GH-ISSUE #74] Ios edge browser recognizes developer tool #44
Labels
No labels
bug
bug
enhancement
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/devtools-detector#44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @youdk1107 on GitHub (Aug 12, 2024).
Original GitHub issue: https://github.com/AEPKILL/devtools-detector/issues/74
There is a problem with recognizing that the developer tool has been opened even if the developer tool is not opened in the iOS edge browser.
I have added an alert code to verify.

The ios edge version is 127.2651.96.

@AEPKILL commented on GitHub (Aug 13, 2024):
Fixed, but I don't have an iOS device to test it. If there are any problems, please reopen this issue.
@youdk1107 commented on GitHub (Aug 13, 2024):
The error has not been resolved.
It seems that edge recognition is not possible because the value for distinguishing edge by useragent on iOS is EdgiOS.
If you modify the edge confirmation condition as below, it was recognized as normal.
/** edge */
export const isEdge = /edge/i.test(userAgent) ||
/EdgiOS/i.test(userAgent);
The regToStringChecker function also seems to be detect regardless of developer tool usage in iOS edge browser.
There was no problem with other browsers, and only iOS edge browsers were experiencing problems.
@AEPKILL commented on GitHub (Aug 13, 2024):
Ok, I have added this logic.
@youdk1107 commented on GitHub (Aug 14, 2024):
The regToStringChecker function also seems to be detect regardless of developer tool usage in iOS edge browser.
As long as you modify the regToStringChecker function, it worked fine on iOS as well.
@AEPKILL commented on GitHub (Aug 14, 2024):
It was also fixed in the last modification.
github.com/AEPKILL/devtools-detector@00a2d3e6cd/src/checkers/reg-to-string.checker.ts (L29)github.com/AEPKILL/devtools-detector@00a2d3e6cd