title: Why is "javascript:" pseudo-protocol stripped from URL bar when pasted?
body: <p>So with the most recent Facebook phishing scandal<sup>1</sup>, Google Chrome (and, I assume, other browsers) disabled the ability to paste javascript directly into your URL bar. Well, it still lets you, but it strips the <code>javascript: </code> part.</p>
  <p>I'm trying to find a work around to be able to directly paste javascript into the URL. Test it out for yourself:</p>
  <pre class="lang-js prettyprint-override"><code>javascript: alert('Hello World');
  </code></pre>
  <p>instantly (for me at least) strips the &quot;javascript:&quot; part of the code only in Google Chrome.</p>
  <hr />
  <p><sup>1</sup> Facebook Phishing Scandal - It's when people where copy-paste that JavaScript code into their URL and it'd invite all their friends to an event OR post something malicious on every friend's wall.</p>