[GH-ISSUE #82] 反馈一下macOS或者iOS误报的情况 #152

Closed
opened 2026-03-13 17:27:48 +03:00 by kerem · 1 comment
Owner

Originally created by @RyanFeng1024 on GitHub (Jun 8, 2025).
Original GitHub issue: https://github.com/AEPKILL/devtools-detector/issues/82

收到多次反馈在 macOS 或者 iPhone上, 如果切换了浏览器标签页,或者切换app, 后面再切回去的时候, 会提示打开了控制台。 实际上没有打开。 触发的 checker 是 performance 。 这是什么原因 有办法处理吗

Originally created by @RyanFeng1024 on GitHub (Jun 8, 2025). Original GitHub issue: https://github.com/AEPKILL/devtools-detector/issues/82 收到多次反馈在 macOS 或者 iPhone上, 如果切换了浏览器标签页,或者切换app, 后面再切回去的时候, 会提示打开了控制台。 实际上没有打开。 触发的 checker 是 performance 。 这是什么原因 有办法处理吗
kerem closed this issue 2026-03-13 17:27:53 +03:00
Author
Owner

@AEPKILL commented on GitHub (Jun 12, 2025):

可以监听 visibilitychange 切到后台停止检测

<!-- gh-comment-id:2966894498 --> @AEPKILL commented on GitHub (Jun 12, 2025): 可以监听 [visibilitychange](https://developer.mozilla.org/zh-CN/docs/Web/API/Document/visibilitychange_event) 切到后台停止检测
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#152
No description provided.