title: Google Chrome Extensions and NPAPI
body: <p>I need to write some Google Chrome extension. The problem is that Chrome JavaScript APIs don't give me enough power - I need to use native code. I thought about writing a NPAPI plug-in that will provide the extension some custom JS APIs. </p>
  
  <p>Is it possible to package the extension, plus the custom NPAPI plugin inside a .crx, and then upload it to the <a href="https://chrome.google.com/extensions?hl=en-US" rel="noreferrer">Chrome Extensions Store</a>?</p>
  
  <p>Another issue with this method is that the NPAPI plugin will have many versions: Linux, Windows, OS X, x86, x86-64, etc. Is it possible to package all these in the crx and use the best version? </p>
  
  <p>Thanks.</p>
  
  <p><strong>EDIT:</strong> After reading <a href="http://code.google.com/p/chromium/issues/detail?id=14936" rel="noreferrer">this</a>, I realized that it's not possible to elegantly solve the multi-platform issue in one crx. But - is it possible to upload different crx-s for each platform to the Chrome extension store?</p>