title: Any example of writing an NPAPI plugin in Linux?
body: <p>I need to write a browser plugin to communicate with another process, and it seems I have to use NPAPI plugins. Is there any example or open source NPAPI plugin I can refer to?</p>
  
  <p>Many thanks for your reply.</p>
  
  <p><strong>Summary of answers</strong></p>
  
  <ol>
  <li><a href="http://mxr.mozilla.org/seamonkey/source/modules/plugin/samples/" rel="nofollow noreferrer">http://mxr.mozilla.org/seamonkey/source/modules/plugin/samples/</a></li>
  <li><a href="http://www.firebreath.org/" rel="nofollow noreferrer">http://www.firebreath.org/</a></li>
  <li><a href="http://code.google.com/p/nixysa/" rel="nofollow noreferrer">http://code.google.com/p/nixysa/</a></li>
  <li><a href="http://code.google.com/p/npapi-file-io/" rel="nofollow noreferrer">http://code.google.com/p/npapi-file-io/</a></li>
  </ol>
  
  <p>2 and 3 are both frameworks to make plugin development easier.</p>
  
  <hr>
  
  <p>I found one example at
  <a href="http://mxr.mozilla.org/seamonkey/source/modules/plugin/samples/" rel="nofollow noreferrer">http://mxr.mozilla.org/seamonkey/source/modules/plugin/samples/</a> </p>