title: Firefox extension: native code execution?
body: <p>Is it possible to write an extension that runs native, platform-dependent code? I'm an extension-newbie (what a phrase!) :), can you please point me towards good material on this subject? (good keywords to feed to Google are enough)</p>
  
  <p>(<a href="https://stackoverflow.com/questions/1172851/creating-native-gtkmenu-from-firefox-extension">I would like to put a GtkMenu in Firefox</a>)</p>
  
  <p>Edit: 
  I started checking out the Gecko SDK, and it's a rather big subject, and I'm not sure this is what I want. </p>
  
  <p>I'd be happy with a friendly manual (which is not a raw reference, but rather some kind of tutorial on how to make extensions that utilize XPCOM (if that is the way). Good keywords are still appreciated.</p>