Last active
April 5, 2016 22:06
-
-
Save junquera/6b951a3674893e40be8b361ccc037a67 to your computer and use it in GitHub Desktop.
Developer Tools Watcher (just tested in Google Chrome)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function devToolsOpened(){ | |
| return window.outerHeight - window.innerHeight > 100; | |
| } | |
| function devToolsWatcher(){ | |
| console.log(devToolsOpened()); | |
| } | |
| setInterval(devToolsWatcher, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment