title: Firefox command line arguments in extension
body: <p>I'm trying to get an arguments of firefox command line in my extension:</p>
  
  <pre><code>'firefox.exe -viewapp url -another-command -blablala:somedata'
  </code></pre>
  
  <p>And <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Providing_Command-Line_Options" rel="nofollow">here</a> I have found an example</p>
  
  <p>But I dont get it how can I get all arguments on first start of browser.
  I need to display it in web console something like this:</p>
  
  <pre><code>console.log(commandLine.arguments)
  // -viewapp url -another-command -blablala:somedata
  </code></pre>
  
  <p>Please help</p>