title: Can Firebug Lite be loaded conditionally?
body: <p>I'd like to be able to load Firebug lite conditionally (eg, based on the value of debug variable). I've tried this:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
      var fileref; 
  
      if(condition) {
          fileref=document.createElement('script')
          fileref.setAttribute("type","text/javascript")
          fileref.setAttribute("src", "https://getfirebug.com/firebug-lite.js")
      }
  
  &lt;/script&gt;
  </code></pre>
  
  <p>at the top of my <code>&lt;head&gt;</code>, but to no avail. Anyone have any suggestions?</p>