title: Auto click button script for tampermonkey?
body: <p>am trying to create a user script which would click the following button as soon as possible  on loadiing the page.</p>
  
  <pre><code>&lt;button class="btn" tabindex="10" disabled="disabled" onclick="ValidateAndSubmit('1')" title="" pay-tab="1"&gt;Do now&lt;/*button&gt;
  </code></pre>
  
  <p>please help as i am trying from long time but failing to do so.</p>
  
  <p>i tried this:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt; 
  setTimeout(function()
   { document.getElementById("btn").click(); },1000); 
  &lt;/script&gt;
  </code></pre>