User:Rpepersack

From MozillaWiki
Jump to: navigation, search

When using multiple versions of the Java Plug-in (JRE), Firefox's default behavior is to scan the Windows registry for the latest version of the Plug-in and use it. I would like for Firefox to give me the ability to select a specific version of the Java Plug-in, not the latest version that's installed on my computer. For example, if I have both JRE 1.4.3 and JRE 1.5.0 installed on my computer, I would like to set Firefox to use 1.4.3. I need Firefox to do this in thtee ways. First, I would like the setting in the Firefox browser's about:config page. Second, I want the setting to be in Tools|Options. Third, and most importantly, I want Firefox to determine which plug-in to use by looking at the <OBJECT> and/or <EMBED> tags in my HTML file.

This is urgent, so please put this in the next release of Firefox, 1.5.0.8.

Here's an example HTML page:

<HTML> <HEAD> <TITLE>Desktop</TITLE> </HEAD> <BODY>

<OBJECT classid = "clsid:CAFEEFAC-0014-0002-0003-ABCDEFFEDCBA"

       codebase = "http://MYSERVER:8000/j2re-1_4_2_03-windows-i586-p.exe"
       width = 1
       height = 1>
   <PARAM name = code value = "MyApp.class">
   <PARAM name = codebase value = "myclasses">
   <PARAM name = cache_archive value = "myapp.jar">
   <PARAM name = "type" value = "application/x-java-applet;jpi-version=1.4.2_03">
   <PARAM name = "scriptable" value = "false">


   <COMMENT>
       <EMBED
           type = "application/x-java-applet;jpi-version=1.4.2_03"
           code = "mia.gui.main.Desktop.class"
           codebase = "myclasses"
           cache_archive = "myapp.jar"
           pluginspage = "http://MYSERVER:8000/j2re-1_4_2_03-windows-i586-p.exe"
           scriptable = false
           width = 1
           height = 1>
           <NOEMBED>
           </NOEMBED>
       </EMBED>
   </COMMENT>

</OBJECT>

Thanks in advance.