Detect when "Inspect Element" is open : <p>Samy Kamkar's website, <a href="http://samy.pl">http://samy.pl</a>, knows when the console is being opened and wipes the source/console when it does open.</p>

<p><a href="https://i.stack.imgur.com/kag6U.jpg"><img src="https://i.stack.imgur.com/kag6U.jpg" alt="enter image description here"></a></p>

<p>How does this work?</p>
