搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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 个回答
  • 3 人有此问题
  • 3 次查看
  • 最后回复者为 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.

由cor-el于修改

所有回复 (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.