NPAPI (npsimple) example
C R
Pull request Compare This branch is 1 commit ahead, 3 commits behind Ciantic:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
jni
Android.mk adopt to Firefox Mobile on Android Feb 17, 2011
AndroidManifest.xml adopt to Firefox Mobile on Android Feb 17, 2011
Info.plist
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
config.mk
npsimple.c
npsimple.def
npsimple.rc cleaned up the ifdef stuff on windows Jul 25, 2008
npsimple.sln
npsimple.vcproj
resource.h
test.html

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/