14

As per this article, Mozilla has dropped the support of NPAPI plugins from Mozilla Firefox version 52. Is there any web browser with NPAPI plugin support? I have to use a website frequently which uses Oracle Java plugin. I'm using Ubuntu 16.04 64 bit with Java JDK 8u121.

Helps are much appreciated. Thanks.

12

The Pale Moon web browser is an interesting option. In the document Pale Moon future roadmap they make this statement:

"Pale Moon supports NPAPI plug-ins. Unlike Firefox, we will not be deprecating or removing support for these kinds of plug-ins. This means that you will be able to continue using your media, authentication, and other plug-ins in Pale Moon like Flash, Silverlight, bank-authenticators or networking plug-ins for specific purposes."

  • Seems to be a reasonable browser. I'll have a look. Thanks – Lijin Apr 18 '17 at 15:43
  • @Lijin: Yeah, I successfully tested a NPAPI plugin with it myself. Then I returned to FF 52 with "plugin.load_flash_only" set to "false". If that trick doesn't work with FF 53, I'll probably install Pale Moon again. – Gunnar Hjalmarsson Apr 18 '17 at 17:15
  • Yes. I'm also using the flag plugin.load_flash_only in Firefox 52 for Linux. It will be removed in Firefox 53, because I saw that it was removed in Firefox 53 for Windows yesterday. – Lijin Apr 18 '17 at 17:26
  • I installed Pale Moon now, but I'm not getting Java plugin in the plugin list. I thought that, if Java plugin is there in Firefox, it will be automatically imported in Pale Moon. Any idea how to install Java plugin in Pale Moon? – Lijin Apr 18 '17 at 17:28
  • 1
    @Lijin: And it doesn't work with FF 54 for Linux either. :( – Gunnar Hjalmarsson Jun 14 '17 at 22:29
11

You can use the Extended Support Release of Firefox 52 as follows:

The following steps should work (tested on Mint 18 based on Ubuntu 16.04 and Mint 19 based on Ubuntu 18.04):

  1. Download and extract the Firefox ESR install from here: Download Firefox Extended Support Release. Make sure it doesn't auto update by changing the update settings in preferences.
  2. Launch Firefox and type about:config in the location bar
  3. Accept the risks and then add a key (right click mouse -> New -> Boolean)
  4. Call the key plugin.load_flash_only and set it to false
  5. Add a Firefox extension for switching the user agent eg. User-Agent Switcher
  6. Set the user agent to an earlier version of Firefox on Linux eg. Mozilla/5.0 (X11; Linux i586; rv:31.0) Gecko/20100101 Firefox/31.0
  7. Close Firefox
  8. Download the tar.gz JRE package for Linux from Java.com and store the file in the Downloads folder in your home folder (i.e. ~/Downloads). It will be of the form: jre-8u121-linux-i586.tar.gz for the 32 bit version. Choose the 32 bit or 64 bit version according to the version of Firefox ESR you downloaded.
  9. Then do the following in a shell to extract the JRE (replacing with 64 bit versions if needed):

    sudo mkdir -p -v /opt/java/32
    cd ~/Downloads
    tar -zxvf jre-8u121-linux-i586.tar.gz
    sudo mv -v jre1.8.0_* /opt/java/32
    
  10. Now the Java needs to be linked to Firefox. In a shell:

    mkdir -p ~/.mozilla/plugins/
    cd /opt/java/32/jre1.8.0_121
    ln -sf $PWD/lib/i386/libnpjp2.so ~/.mozilla/plugins/
    
  11. Launch Firefox and verify your Java version here: Verify Java Version

  12. If it doesn't work and the wrong Java plugin appears to be loaded eg. IcedTea, then remove them:

    sudo apt-get remove icedtea-plugin icedtea-8-plugin icedtea-netx icedtea-netx-common
    
6

EDIT:

Here's a list of browsers that still support NPAPI from Wikipedia:

enter image description here


There is a special version of Firefox that still supports NPAPI plugins.

From the How-To-Geek:

Mozilla ended support for traditional NPAPI browser plugins, aside from Flash, with Firefox 52 on March 7, 2017.

However, Mozilla offers an “Extended Support Release”, or ESR, branch of the Firefox browser. This browser is intended for organizations to have a stable, long-term platform that only receives security updates, not the frequent feature updates and changes that the main version of Firefox receives.

Firefox 52 ESR was released on March 7, 2017 and includes support for non-Flash browser plugins. Mozilla will continue supporting Firefox 52 ESR with security updates until sometime in the second quarter of 2018. At that point, the next ESR version of Firefox will drop support for NPAPI plugins.

Visit the Download Firefox Extended Support Release page to download the ESR version of Firefox. If you’re not sure which version to download, choose the 32-bit version of Firefox for maximum compatibility with older plugins. Older plugins may not have 64-bit versions available.

  • Yes I'm aware of Firefox ESR. But it's another workaround since How To Geek says At that point, the next ESR version of Firefox will drop support for NPAPI plugins. Now I use Firefox 52.0.2 64 bit in which Java plugin works (using plugin.load_flash_only flag), but it will be gone soon after update to 53. All I need is a long term solution, a browser which support Java plugin for long. – Lijin Apr 17 '17 at 18:28
  • @Lijin - You may want to try Midori or GNOME Web then – Android Dev Apr 17 '17 at 18:30
  • Yes. I just downloaded Midori. Haven't tried it yet. Any ideas about how to enable/install Java Plugin in that? – Lijin Apr 17 '17 at 18:33
  • @Lijin Well, here's an answer for how to enable Java in Midori. Also see the edit to my answer; I included a list of browsers that still support NPAPI. – Android Dev Apr 17 '17 at 18:36
  • Thanks for the list of browsers. But, what if I already installed JDK already with .tar.gz file? How can I get the plugin in Midori? – Lijin Apr 17 '17 at 18:45
1

In all honesty, we don't have any good options today

Pale Moon has only partial support for Java Plugins. At least, they don't work under Wayland. It is true for every browser, derived from Firefox, which for now is any browser from "NPAPI support list". But at least Pale Moon team supports their project.

Gnome Web shares the same problem, but even to a higher degree. Same with Konqueror.

Midori used to be a good browser, but hasn't been update for way too long

SeaMonkey doesn't support NPAPI at all. They even state it on their website:

we are not planning to support any abandoned stuff like classic extensions and NPAPI plugins on our own ... when they are gone, they are gone

Safari has been gone for years now

So, yeah... I keep a virtual machine with Windows and (omg, this is embarrassing) IE installed, just to be able to work with my bank account

-2

You have two options by the moment.

Basilisk

http://basilisk-browser.org/

Waterfox

https://www.waterfoxproject.org/

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.