Hacker GitHub

← All repos

sindresorhus/devtools-detect

View on GitHub ↗ ★ 2,129 HTML archived

Detect if DevTools is open and its orientation

10 mentions on Hacker News by 10 people: 0 stories, 10 comments · first 2017-08-10 · latest 2023-11-17

Mentions per year 10 mentions · busiest year 2023 (4)
20082026
  1. …from ' https://www.dinbyggare.se/wp-content/plugins/wccp-pro/index.... That's version 2.1 of https://github.com/sindresorhus/devtools-detect Meanwhile version 4 was released and even the maintainer writes "This package has a lot of flaws.…
  2. …entirely unreliable, and only knows about your devtools directly if you're using Firebug. [0]: https://github.com/sindresorhus/devtools-detect/blob/main/in...
  3. https://sindresorhus.com/devtools-detect/ https://github.com/sindresorhus/devtools-detect EDIT: doesn't seem to work if I have devtools as a separate window
  4. …detected is by window resizing. You can see an example npm package that can detect devtools here: https://github.com/sindresorhus/devtools-detect
  5. Devtools can actually be detected to a certain extent - https://github.com/sindresorhus/devtools-detect
    comment by hmsimha · 2021-06-28 · in JavaScript Is Weird
  6. What out for "Devtools detect" :) https://github.com/sindresorhus/devtools-detect
  7. …all kinds of interference with dev tools in the wild. There are many ways to detect it's open (eg. https://github.com/sindresorhus/devtools-detect ) and it's also possible to mess with it without knowing it's open. A method that's wildly…
  8. …the HTML a bit. In total, three snippets of JS were added: the first detects debuggers using https://github.com/sindresorhus/devtools-detect (the bit that the original blog poster found), the second pops open the fake browser chrome and…
    comment by nneonneo · 2018-10-01 · in An Innovative Phishing Style
  9. https://github.com/sindresorhus/devtools-detect
  10. Typically it seems to poll window height/width vars in js. https://github.com/sindresorhus/devtools-detect Another variant: https://stackoverflow.com/questions/7798748/find-out-whether...