title: Submit form / click button with bookmarklet
body: <p>How can i add to my working bookmarklet </p>
  
  <p><code>javascript:void(window.open(%27https://developers.facebook.com/tools/debug/sharing/?q=%27+window.location.href,%27_blank%27));</code></p>
  
  <p>the submitting of this form:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;form rel="async" action="/tools/debug/sharing_rescrape/?elem_id=u_0_0" method="post" onsubmit="return window.Event &amp;amp;&amp;amp; Event.__inlineSubmit &amp;amp;&amp;amp; Event.__inlineSubmit(this,event)" id="u_0_6"&gt;
  &lt;input type="hidden" name="fb_dtsg" value="AQH1ok_IYCTG:AQGqk6oXVqIV" autocomplete="off"&gt;&lt;input type="hidden" autocomplete="off" name="url" value="http://example.com"&gt;
  This URL hasn't been shared on Facebook before.
  &lt;button value="1" class="_42ft _4jy0 _3-9a _4jy3 _517h _51sy" type="submit"&gt;Fetch new information&lt;/button&gt;
  &lt;span class="img _55ym _55yn _55yo _5tqs" aria-busy="true" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuetext="Loading..."&gt;&lt;/span&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I tried it with <code>javascript:void(window.open(%27https://developers.facebook.com/tools/debug/sharing/?q=%27+window.location.href,%27_blank%27);document.getElementsByTagName('button')[0].click(););</code></p>
  
  <p>and with </p>
  
  <p><code>javascript:void(window.open(%27https://developers.facebook.com/tools/debug/sharing/?q=%27+window.location.href,%27_blank%27);document.forms[0].submit(););</code></p>
  
  <p>but both weren't work for me.</p>