title: Open a new tab with custom HTML instead of a URL
body: <p>I'm making a Greasemonkey script and would like to open a new tab which will not display a URL but some HTML that is part of the script. So basically I want to do something like this (which is obviously not working):</p>
  
  <pre><code>window.open('&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;');
  or
  GM_openInTab('&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;');
  </code></pre>
  
  <p>Any hints are welcome!</p>