├── README.md └── index.html /README.md: -------------------------------------------------------------------------------- 1 | # inspector-open-detection 2 | 3 | A simple demo of [Samy Kamkar's](https://samy.pl) ["inspector is open" detection](http://stackoverflow.com/questions/42193700/detect-when-inspect-element-is-open). 4 | 5 | It detects when a website visitor opens the browser's developer tools. 6 | Note that it does **not** use `window.innerHeigth/Width` [(which leads to false positives & negatives)](https://github.com/samyk/devtools-detect). 7 | 8 | ## [Demo](https://robinlinus.github.io/inspector-open-detection/) 9 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 16 |

Open the Inspector (Ctrl+Shift+i)

17 | 20 | 53 | --------------------------------------------------------------------------------