[GH-ISSUE #58] 仅部分页面需要检测是否允许开启控制台的场景,第一次进入会做检测,重复进入无法检测 #32

Closed
opened 2026-03-01 14:34:00 +03:00 by kerem · 1 comment
Owner

Originally created by @xsTao on GitHub (Feb 6, 2023).
Original GitHub issue: https://github.com/AEPKILL/devtools-detector/issues/58

第一次进入页面会进addLisener, 不刷新页面再进入就不会再进addListener。
addLisener 和 launch 是在该页面运行的,请问这种场景是否支持?

chrome: 85.0.4183.102(正式版本) (64 位)

Originally created by @xsTao on GitHub (Feb 6, 2023). Original GitHub issue: https://github.com/AEPKILL/devtools-detector/issues/58 第一次进入页面会进addLisener, 不刷新页面再进入就不会再进addListener。 addLisener 和 launch 是在该页面运行的,请问这种场景是否支持? chrome: 85.0.4183.102(正式版本) (64 位)
kerem closed this issue 2026-03-01 14:34:00 +03:00
Author
Owner

@AEPKILL commented on GitHub (Feb 14, 2023):

addListener 仅在状态变更时触发

<!-- gh-comment-id:1429008892 --> @AEPKILL commented on GitHub (Feb 14, 2023): addListener 仅在状态变更时触发
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#32
No description provided.