title: Test if JavaScript is enabled and/or running correctly
body: <p>I've taken different approaches to find out whether JS is enabled / running correctly. </p>
  
  <p>Usually I just do something like this:</p>
  
  <pre><code>$('.jstest').html('JavaScript works.');
  
  &lt;p class='jstest'&gt;&lt;/p&gt;
  </code></pre>
  
  <p>So, I can see whether I accidentally disabled JS, or I have a syntax error and JS is not running correctly without consulting firebug.</p>
  
  <p>Now, this requires me to modify every single page. With Greasemonkey I thought this problem could be solved, without interfering with the site. But so far I couldn't find a way. I've tried:</p>
  
  <ul>
  <li>inserting a  right after the opening body</li>
  <li>inserting a script tag with a src to a remote server</li>
  </ul>
  
  <p>Both ways still work, even if the JS on the site is not executed because of script / syntax errors.</p>
  
  <p>Now, I've tried to insert a noscript container with Greasemonkey and disable js to find out whether the JS on the site reacts while Greasemonkey is not affected. No, GM does not work without JS :P</p>
  
  <p>It seems like GM is running independently from all other scripts on that site. Anybody know a solution?</p>