Skip to content

sindresorhus/devtools-detect

View on GitHub ↗Related repositories →

Detect if DevTools is open and its orientation(检测开发者工具是否被打开)

active 2023-08-212026-04-18 (UTC)

Complete coverage26,442 / 26,442 hourly files (100%) · 2 absent upstream2023-08-152026-08-20 (UTC)
Events
293
Pushes
1
Pull requests
6
Issues
2
Stars
252
Forks
24

Activity over time

Daily event counts in the loaded window

Line chart, 972 days from 2023-08-21 to 2026-04-18. Pushes: 1 total, peak 1 in a day. Pull requests: 6 total, peak 4 in a day. Issues: 2 total, peak 1 in a day. Comments: 6 total, peak 1 in a day. Stars: 252 total, peak 3 in a day.

  • Pushes
  • Pull requests
  • Issues
  • Comments
  • Stars

Stars, PRs, issues and forks are under-captured in the later part of this window. GH Archive progressively stopped capturing non-push events during 2026 — −95% or worse by the end of the window. Every series here except Pushes fades for that reason, so a decline above reflects the archive, not this repository. Pushes stay reliable throughout, so read them, and the contributor counts derived from them, as the real signal. Data health has the measurements.

Top contributors

Pushes, PRs, issues, reviews and comments — stars and forks excluded, so this is contribution rather than popularity

ContributorContributionsPushesPRsComments
devbymak3021
sindresorhus3120
Asobu011001
zl72611000
Mrgaton1001
Cubxx1001
jhyland871001
s0urce-c0de1001
OriginalSin1000
EmpireOperating1010
yifan19860831-hub1010

Recent activity

Latest issues, pull requests and releases

  • Issue comment#43jhyland872026-03-30 00:08
    not works on Opera
  • Pull request#80yifan19860831-hub2026-03-10 07:35
  • Issue comment#33Asobu012026-03-09 06:28
    problem with monitors with resolution 1920x1980
  • Pull request#76EmpireOperating2026-02-04 03:58
  • Issue#74zl72612025-09-17 14:59
    My code is better
  • Issue#72OriginalSin2025-03-11 15:47
    How else can you find out if a devtools is open?
  • Issue comment#62Mrgaton2024-08-07 00:54
    Bookmarklets not detected
  • Issue comment#68Cubxx2024-06-23 10:24
    devtools如果脱离浏览器就不行了
  • Releasesindresorhus2024-04-23 14:56
  • Pull request#71sindresorhus2024-04-23 14:48
  • Pull request#71devbymak2024-04-23 13:29
  • Pull request#70sindresorhus2024-04-23 13:13
  • Issue comment#70devbymak2024-04-23 12:55
    Add React usage
  • Pull request#70devbymak2024-04-23 10:40
  • Issue comment#15s0urce-c0de2024-04-17 16:28
    DevTools Undocked

Totals cover only the window loaded into ClickHouse and count events, not GitHub's lifetime totals — 252 stars here means stars gained during the window, not the repo's star count.