[GH-ISSUE #74] Ios edge browser recognizes developer tool #44

Closed
opened 2026-03-01 14:34:05 +03:00 by kerem · 5 comments
Owner

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.
capture

The ios edge version is 127.2651.96.
capture2

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. ![capture](https://github.com/user-attachments/assets/799b7b01-662f-4af3-a205-8b67dc93bb08) The ios edge version is 127.2651.96. ![capture2](https://github.com/user-attachments/assets/eefa8167-8be5-49c5-84dd-0a0f67097ed1)
kerem closed this issue 2026-03-01 14:34:05 +03:00
Author
Owner

@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.

<!-- gh-comment-id:2285199417 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:2285735556 --> @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.
Author
Owner

@AEPKILL 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) ||导出 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.

Ok, I have added this logic.

<!-- gh-comment-id:2286145282 --> @AEPKILL 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) ||导出 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. Ok, I have added this logic.
Author
Owner

@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.

<!-- gh-comment-id:2287654805 --> @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.
Author
Owner

@AEPKILL 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.

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

- export const isWebkit = /webkit/i.test(userAgent) && !isEdge;
+ export const isWebkit = /webkit/i.test(userAgent);
<!-- gh-comment-id:2287726273 --> @AEPKILL 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. It was also fixed in the last modification. https://github.com/AEPKILL/devtools-detector/blob/00a2d3e6cdedbefd113cb2cc0326bbbbd5796c81/src/checkers/reg-to-string.checker.ts#L29 https://github.com/AEPKILL/devtools-detector/commit/00a2d3e6cdedbefd113cb2cc0326bbbbd5796c81 ``` - export const isWebkit = /webkit/i.test(userAgent) && !isEdge; + export const isWebkit = /webkit/i.test(userAgent); ```
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#44
No description provided.