Simple example for NPAPI plugin

可紊 提交于 2020-01-03 05:15:13

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!