mirror of
https://github.com/AEPKILL/devtools-detector.git
synced 2026-04-26 23:15:48 +03:00
[GH-ISSUE #2] IE 11 有些情况下,可能检测失败的 #87
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#87
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 @sxgkwei on GitHub (Jan 21, 2019).
Original GitHub issue: https://github.com/AEPKILL/devtools-detector/issues/2
IE 11 :
版本:11.523.17134.0
更新版本:11.0.105(KB4480965)
产品ID:00150-20000-00003-AA459
同样的 IE 11,并不是所有的都不能检测。有些电脑上的 IE 11 检测正常,能正常检测到 开启/关闭 F12。但是我 列举的这个版本号,是同事电脑上的,就不能正常检测,一进入就会检测到 F12 已经打开,而实际上并没有打开。
在此电脑上,按 F11 全屏时,检测到 开发者工具已经关闭,再次按 F11 回到正常模式,又已经打开了开发者模式。
但是,如果在这个按 F11 的过程中,按过一次 F12 ,再按 F11 就会始终显示 开发者工具已经打开;而无论是否真正的打开。
如果不是 检测 代码本身问题,请也说明一下是什么其它软件导致的。同为开发者,你也知道,国内的很多流氓软件太多,比如搜狗输入法啊,百度杀毒啊,360,企鹅的杀毒啊。可能都有强制锁首页的情况,是否有可能是这些导致的?
@AEPKILL commented on GitHub (Jan 25, 2019):
同版本浏览器无法重现这个
Bug, 猜测是各种 IE工具栏 之类的第三方工具影响了判断。我移除了通过判断开发工具是否停靠的相关逻辑,因为这个判断不是十分严谨。
你再尝试一下 Demo 呢: https://blog.aepkill.com/demos/devtools-detector/
@sxgkwei commented on GitHub (Feb 12, 2019):
@AEPKILL 更新后问题得到解决。谢谢