Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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.