Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Pluginspage is not working in embed script in firefox 36 version. Actually wanna downlaod jre 1.8 . It was working on firefox 22 version. Please suggest

  • 1 réponse
  • 3 ont ce problème
  • 3 vues
  • Dernière réponse par guigs

more options
function createEmbed(divID, context, locale, server,client)
{
  
var d = document.getElementById(divID);
    d.innerHTML = '<EMBED type="application/x-java-applet;version=1.8" CODE="com.cybertrust.webrao.WebRAOApplet.class"'+
                  'JAVA_CODEBASE="'+context+'" '+
                  'ARCHIVE="WebRAO.jar" '+
                  'NAME="WebRAOApplet" '+
                  'MAYSCRIPT="true" '+
                  'pluginspage="http://javadl.sun.com/webapps/download/GetFile/1.8.0_31-b13/windows-i586/xpiinstall.exe"'+                                
                                  'L="'+locale+'"  ' +
                  'PinTimeout="'+server+'"'+
                  'ClientTimeout="'+client+'"'+
                  'separate_jvm="true"'+
                  'java_version="1.8.0_31" />';
}


We are using the above script. Defined the application/x-java-applet;version=1.8 So. as per the oracle documentation, Firefox has to check whether java version 1.8 or above is available and then run the applet thereby opening the run window and finally the applet window has to open. So the expectation is if 1.8 jre is not available it has to trigger the pluginspage attribute thereby redirecting to the jre autodownload url mentioned in pluginspage. This code use to work for firefox 21. Not sure why it will not work with any of the versions above 21. Right now we are trying with firefox 36. The same code works with IE 11 also. Please suggest is there any solution for the same.

<pre><nowiki>function createEmbed(divID, context, locale, server,client) { var d = document.getElementById(divID); d.innerHTML = '<EMBED type="application/x-java-applet;version=1.8" CODE="com.cybertrust.webrao.WebRAOApplet.class"'+ 'JAVA_CODEBASE="'+context+'" '+ 'ARCHIVE="WebRAO.jar" '+ 'NAME="WebRAOApplet" '+ 'MAYSCRIPT="true" '+ 'pluginspage="http://javadl.sun.com/webapps/download/GetFile/1.8.0_31-b13/windows-i586/xpiinstall.exe"'+ 'L="'+locale+'" ' + 'PinTimeout="'+server+'"'+ 'ClientTimeout="'+client+'"'+ 'separate_jvm="true"'+ 'java_version="1.8.0_31" />'; }</nowiki></pre> We are using the above script. Defined the application/x-java-applet;version=1.8 So. as per the oracle documentation, Firefox has to check whether java version 1.8 or above is available and then run the applet thereby opening the run window and finally the applet window has to open. So the expectation is if 1.8 jre is not available it has to trigger the pluginspage attribute thereby redirecting to the jre autodownload url mentioned in pluginspage. This code use to work for firefox 21. Not sure why it will not work with any of the versions above 21. Right now we are trying with firefox 36. The same code works with IE 11 also. Please suggest is there any solution for the same.

Modifié le par cor-el

Toutes les réponses (1)

more options

There are some updates happening to https://www.mozilla.org/en-US/plugincheck/

However to further investigate I would suggest troubleshooting the installation of Java:

*https://support.mozilla.org/en-US/kb/troubleshoot-issues-with-plugins-fix...

Or also checking with Mozillazine or stackoverflow.com for compatibility and development troubleshooting is a good place to also look.