Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Can NPAPI plugins be used on Firefox Mobile on Android? Is there a reference sample for registering an NPAPI plugin on Firefox Mobile?

  • 2 replies
  • 18 have this problem
  • 6 views
  • Last reply by mikma

more options

My extension uses an NPAPI and I would like to port it to Firefox Mobile. Is this possible?

My extension uses an NPAPI and I would like to port it to Firefox Mobile. Is this possible?

All Replies (2)

more options

Firefox for mobile does have code to support NPAPI plugins, but it is disabled by default and not fully supported.

To enable plugin support, go to the "about:config" page, then search for "plugin.disable" and change the value to "false."

On Maemo and on desktop operating systems, you can install plugins by placing them in standard locations like /usr/lib/mozilla/plugins.

I don't know whether there's a way to install NPAPI plugins for use by Firefox. (NPAPI plugin support is completely untested on Android, and may or may not work at all.)

more options

By using the following command it's possible to specify MOZ_PLUGIN_PATH on Android. But I don't know if it's possible to load plugins on Android.

am start -a org.mozilla.firefox -n org.mozilla.firefox/org.mozilla.firefox.App --es env0 MOZ_PLUGIN_PATH=<path>

Update: I have built and loaded npsimple, but I haven't got scripting to work yet. https://github.com/mikma/npsimple

Modified by mikma