========================================================================== devtools-detect-master:Original Version URL: https://github.com/sindresorhus/devtools-detect ========================================================================== Test1 :Simplified Version ========================================================================== Test2 :Removed the lastest Javascript Feature so it works in IE11 ========================================================================== Test3 : Combined two methods (Method 1) Test2 for horizontal case (Method 2) The mothod that detects DevTool by "__defineGetter__" Method2 works on all browsers except FireFox Method1 covers the case FireFox with horizontal devtool. The reason why Method2 is not used for "vertical devtool" is because Some users (e.g. Safari uses) vertical tool window, which triggers Method2. ==========================================================================