NPAPI (npsimple) example
C R
Pull request Compare This branch is 1 commit ahead, 3 commits behind Ciantic:master.
Latest commit 003c5b5 Feb 18, 2011 Mikael Magnusson adopt to Firefox Mobile on Android
Permalink
Failed to load latest commit information.
jni adopt to Firefox Mobile on Android Feb 17, 2011
Android.mk
AndroidManifest.xml adopt to Firefox Mobile on Android Feb 17, 2011
Info.plist Plugin detected, though it's crashing Safari, Firefox & Opera Jul 24, 2008
Localized.r Plugin detected, though it's crashing Safari, Firefox & Opera Jul 24, 2008
Makefile split out more complex test to http://foo.webvm.net Aug 8, 2008
README adopt to Firefox Mobile on Android Feb 17, 2011
config.mk
npsimple.c adopt to Firefox Mobile on Android Feb 17, 2011
npsimple.def update, initial windows version Jul 16, 2008
npsimple.rc cleaned up the ifdef stuff on windows Jul 25, 2008
npsimple.sln cleaned up windows project files Jul 17, 2008
npsimple.vcproj updated, added sample for exception support Sep 15, 2008
resource.h update, initial windows version Jul 16, 2008
test.html updated, added sample for exception support Sep 15, 2008

README

This is a simple NPAPI test plugin with a scriptable (javascript) object. Any
function call into the plugin will return an int32 with the value 42.

In order to build this plugin you need to setup the NPAPI headers (e.g.
xulrunner-sdk) in *config.mk*.

	; make

Following browsers have been tested successfully with this plugin so far:

- Iceweasel 2.0/Debian Linux
- Iceweasel 3.0/Debian Linux
- Firefox 2.0/Ubuntu Linux
- Firefox 3.0/Ubuntu Linux
- WebKit/GTK c6c3f8ca4996a96a1c7e9d1ddb9c6e3bd05daed9/Ubuntu Linux
- Opera 9.27/Ubuntu Linux
- Opera 9.5/Debian Linux
- Firefox 3/Darwin
- Safari 3.1.2/Darwin
- Firefox 3.0/Windows XP
- Opera 9.5/Windows XP
- Torchmobile's IRIS browser 1.0.13/Windows Mobile 6
- Mozilla Firefox 4.0b4/Android

What does not work:

- Opera 9.51/Darwin bug-350791@bugs.opera.com

Further information: http://wiki.webvm.net/webvm/npapi/