Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

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 odpoveď
  • 3 majú tento problém
  • 4 zobrazenia
  • Posledná odpoveď od 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.

Upravil(a) cor-el dňa

Všetky odpovede (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.