views:

220

answers:

3

How does one go about embedding an application inside a web page shown in the Google Chrome browser like Adobe does with its Flash Chrome plug-in ? Is there an Api available to create Google chrome plugins ?

Thanks

+3  A: 

Chrome (and many other browsers) support the Netscape Plugin API (NPAPI)

Shawn J. Goff
There are also Add-ons now.
Nosredna
It's supported by every major browser but IE, and even IE supported it up to version 5.5 (Beyond 5.5 you're stuck with ActiveX)
Toji
+1  A: 

If you need something that works cross-browser (firefox, chrome, safari, and ie), you could look at firebreath: http://firebreath.googlecode.com

The disadvantage to using a plugin is that users have to download and install it before it will work.

Taxilian
now it's as simple as installing an extension which uses an NPAPI plugin. For instance, check out the IE Tab extension. Although this is a browser action, not a page action as Adobe Flash would be, a similar approach could be taken to create a page-level plugin.
Jim Schubert
worth noting, however, that installing it this way will only work on the browser you install it with; i.e. mozilla extensions (even with an npapi plugin in them) don't work in chrome, and vise versa
Taxilian
A: 

You can also take a look at this book Programming Netscape Plug-Ins

Xinus