I am using windows xp and i want to develop my own plugin for google chrome using cpp like other plugins(flash or silverlite) because i have my o开发者_Go百科wn exe file so when particular page is open it find for plugins and if plugin is not installed on the system then it first ask to install that plugin form the server and if plugin is already installed then it will not ask and started service.
so anybody knows such type of example or any related tutorial then please tell me.
thank you in advance to all.
The NPAPI is not an easy API to use directly, IMO. However, there are frameworks that make the creation of plug-ins much easier. See:
FireBreath - "a framework that allows easy creation of powerful browser plugins"
nixysa - "A glue code generation framework for NPAPI plugins"
Checkout NPAPI or PPAPI.
NPAPI works in firefox and chrome.
PPAPI is chrome only and is experimental.
Chrome supports the NAPI interface for plugins. Check out:
https://en.wikipedia.org/wiki/NPAPI
https://developer.mozilla.org/en/Plugins
精彩评论