title: Why is document.execCommand("paste") not working in Google Chrome?
body: <p>I have a problem with my extension. I want to paste data from the clipboard.</p>
  
  <p>So far, I've got this:</p>
  
  <pre class="lang-js prettyprint-override"><code>function pasteAndGo()
  {
      document.execCommand('paste')
      alert("Pasted")
  }
  </code></pre>
  
  <p>The alert comes up, but nothing has been pasted.</p>
  
  <p>I've got a feeling it's the <code>document</code> part that needs changing, but I don't know what to do. Any ideas?</p>