title: How can I load a stylesheet dynamically in XULRunner?
body: <p>When running in a web browser, I can do this to dynamically inject a stylesheet:</p>
  
  <pre><code>var link = document.createElement('link'),
      head = document.getElementsByTagName('HEAD')[0];
  
  link.rel  = 'stylesheet';
  link.type = 'text/css';
  link.href = '/path/to/stylesheet.css';
  head.appendChild(link);
  </code></pre>
  
  <p>Is there a way to do the same in XULRunner? I've seen you can use something called <code>Components.interfaces.mozIJSSubScriptLoader</code> to load JavaScript, but does the same capability exist for CSS?</p>