问题
I'm trying to find a simple example on how to write an NPAPI plugin that will be bundled with my Chrome extension.
The thing I need to do with the NPAPI is simply to run an already existing local program that I have the local path for.
Could not find any simple examples that will allow me to do this.
回答1:
The firebreath NPAPI framework seems to have decent documentation: http://www.firebreath.org/display/documentation/FireBreath+Home
回答2:
I start from OSX https://github.com/niw/open_with_default
Linux/ WinNT http://code.google.com/p/npapi-file-io/
thanks above
and then Put them together into my npapi plugin
have a look at https://github.com/tg123/chrome-hostadmin
来源:https://stackoverflow.com/questions/11382794/simple-example-for-npapi-plugin