Prevent Firefox from loading endless JNLP files?

Each time I click the Java Webstart button, Firefox downloads the JNLP file and puts it in the My Files folder. I have over 500 JNLP files from my JWS application called name-123.jnlp etc. Internet Explorer does not do this, is there a way to stop Firefox from doing this? I am an application developer, so server-side crashes are possible.

Additional information: I correctly set the mime type on the server.

+6
source share
1 answer

You can try to run

  • In the Firefox browser, go to the menu "Edit → Settings" → "Applications", in the "Content Type" select the option "Use another" for jnlp files 2. In the dialog box, select the location of the file "javaws" (for me it was located in "/ usr / java / jre1.6.0_16 / bin ")

I am working on Ubuntu

-1
source

Source: https://habr.com/ru/post/902385/


All Articles