Stop firefox from prompting to open jnlp file

Love JWS!!
Works great for me on both IE and FF browsers using a little bit of JavaScript.
The only drawback I see is that Firefox will prompt the user to open file.jnlp with the default download/open dialog.
Anyone know how to prevent this?
Do you implement the JS in a manner that is different, allowing seamless function in FF too?
heres what my launch page looks like for the notepad example;
<html>
<head>
<meta http-equiv="Content-Language" content="en" />
<meta name="GENERATOR" content="PHPEclipse 1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Demo Web Launch</title>
<script language="JavaScript" type="text/javascript"> 
var detect = navigator.userAgent.toLowerCase();
var windowsIE = (checkPlatform("msie") && checkPlatform("win"));
function checkPlatform(string)
    place = detect.indexOf(string) + 1;
    return place;
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#FF9966" vlink="#FF9966" alink="#FFCC99">
<script language="JavaScript" type="text/javascript">
  if (windowsIE) {
    document.write("<OBJECT codeBase=http://java.sun.com/update/1.5.0/jinstall-1_5_0_05-windows-i586.cab classid=clsid:5852F5ED-8BF4-11D4-A245-0080C6F74284 height=0 width=0>");
    document.write("<PARAM name=app VALUE=http://java.sun.com/products/javawebstart/apps/notepad.jnlp>");
     document.write("<PARAM NAME=back VALUE=false>");
     document.write("</OBJECT>");
if (navigator.mimeTypes && navigator.mimeTypes.length) {
     webstartAvailable = navigator.mimeTypes['application/x-java-jnlp-file'];
if (!webstartVersionCheck("1.5")) {
     window.open("http://jdl.sun.com/webapps/getjava/BrowserRedirect?locale=en&host=java.com",
        "needdownload");
function webstartVersionCheck(versionString) {
    // Mozilla may not recognize new plugins without this refresh
    navigator.plugins.refresh(true);
    // First, determine if Web Start is available
    if (navigator.mimeTypes['application/x-java-jnlp-file']) {
        // Next, check for appropriate version family
        for (var i = 0; i < navigator.mimeTypes.length; ++i) {
            pluginType = navigator.mimeTypes.type;
if (pluginType == "application/x-java-applet;version=" + versionString) {
return true;
launchTID =setInterval('launchJNLP("http://java.sun.com/products/javawebstart/apps/notepad.jnlp")',
     100);
function launchJNLP(app) {
if (webstartVersionCheck("1.5")) {
clearInterval(launchTID);
window.location = app;
</script>
</body>
</html>

Right, well I was more thinking about other end users than myself, and their first visit.
I think the prompt with an unknown file type might be discomforting for some of my visitors.
Did I read right however, that with the updates to 1.6 will come a fix to this?
In other words, Joe Blow, first-timer comes, clicks, and voila! open application, just like IE.
Thanks!

Similar Messages

  • How to stop Firefox from checking for add-on compatibility every time it opens?

    How to stop Firefox from checking for add-on compatibility every time it opens?

    That can be a problem with the compatibility.ini file in the Firefox profile folder.
    Try to rename (or delete) the compatibility.ini file in the Firefox profile folder to see if that helps.
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    You can also check for problems with preferences.
    Delete possible user.js and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences

  • Cannot open .jnlp file when asked to open with firefox web browser in ubuntu 11.10 using firefox 6

    After upgrading to ubuntu 11.10 the firefox 6 browser cannot download and open .jnlp file from the interactivebrokers website. Usually I go to the IB website and download tws.jnlp file which is opened in the firefox web browser. But now when I click on the Open with Firefox Browser button, the firefox browser opens a new tab and display the same open window again.

    Seems that after upgrading to 11.10, jnlp files open with firefox instead of javaws (Java Web Start).
    If you right click the file on the download folder and choose "open with" you can manually select java web start.
    Ubuntu bug...
    You can right click any .jnlp file and select "properties", go to "Open With" tab, mark Sun Java 6 Web Start and click "Set as Default". Should fix it. I don't know what would happen if you have the default ubuntu java instead of Sun's. Maybe this wouldn't be necessary.

  • How do I stop Firefox from going to Google everytime I open the browser?

    In my organization, we have well over 2,000 PCs. Every time Firefox is open, it connects to Google IPs (74.125.x.x) even when we are not on Google's site and do not have Google as the search provider. From what I understand (and correct me if I am wrong), Firefox links to Google for anti-phishing/anti-malware lists. The problem I have is with over 2,000 PCs going thru our web filter, it is bogging down our web filter with these connections.
    Is there any way to stop Firefox from making these connections to Google (74.125.x.x)?

    First update your firefox to 24.0 from [http://www.mozilla.org/en-US/firefox/all/ Mozilla.org].
    Second In the [[Location bar autocomplete|Location bar]], type '''about:config''' and press '''Enter'''. The about:config "''This might void your warranty!''" warning page may appear.
    # Click '''I'll be careful, I promise!''', to continue to the about:config page.
    Search the string "browser.startup.homepage",double click on it and change the value. Then press OK and restart firefox

  • Stop Firefox from starting a new tab when a new window opens?

    This might be answered, but I cannot find a solution. I will give a scenario for my issue.
    I am on the UPS website and click a button to print a shipping label. This opens a new FireFox window, BUT... the new window defaults to a generic tab that ALWAYS opens in circumstances like this. It does NOT open to the tab with my label. The print menu opens, but I cannot switch to the tab with my shipping label. No right click to print either. So I have to go to another browser. Absolutely annoying.
    So how can I STOP Firefox from starting this generic tab when a FireFox window opens? BTW, the tab has a search bar at the top and several boxes that I can click on for Facebook, Instagram, etc. Thanks!

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Since the recent upgrade from Adobe pdf plug-inn Firefox often won't open pdf-files. Uninstalling doesn't help. I don't have this problem with Internet Explorer.

    Since the recent upgrade from Adobe pdf plug-inn Firefox often won't open pdf-files. Uninstalling doesn't help. I don't have this problem with Internet Explorer.

    Hi efacg,
    Most printing issues are solved by resetting the Printing preferences. When you print from Firefox and you click on the down arrow, do you see Defualt and Firefox? Please make changes to the preferences here and preview the document.
    If this continues to be an issue please also see [[Fix printing problems in Firefox]]
    If there are any other questions, please do not hesitate to ask, we are here to help.

  • How do I stop firefox from automatically placing the cursor in a textbox?

    How do I stop Firefox from automatically placing the cursor in a text box? On certain pages such as Google.com the cursor will be moved to the search text box automatically after a couple seconds from the page loading. So I'll be typing in the address bar or something and then half of what I am typing in the address bar becomes cut off and starts being entered in the Google.com text box for search. The same happens on Facebook.com and the cursor is automatically moved to the Status Update text box. I assume this is a built in "feature" of the web page, but it's damn annoying. Especially when I start typing in my status update box on Facebook before the page completely loads and then halfway through typing (once the page is done loading) my cursor is moved to the starting position of the text area and my text is cut off.
    Just the be clear the actual mouse pointer isn't being moved, just the prompt for entering text.
    How can this be stopped?
    == This happened ==
    Every time Firefox opened
    == Started since I can remember

    This problem has grown worse over the last couple of years. I use Firefox on Mac and Windows. I consider this problem to be a bug. Here's why: Event Driven interfaces, e.g., OSX and Windows, are never supposed to change typing-cursor focus WHILE SOMEONE'S TYPING!!!
    Firefox allows websites to change focus WHILE USERS TYPE!
    Hey, sorry for the caps, but I haven't used those for awhile and that's kind of fun. But really, more and more websites steal typing-cursor focus WHILE USERS TYPE.
    Efff them, but really, Eff Firefox for allowing this.
    It's almost like a symptom of our hyper scattered age where our attention jumps here and there.
    But really... I love Firefox, some of my best friends are Firefox, they're good people, don't get me wrong, but damn it, WHEN SOMEONE IS TYPING THE UNASSAILABLE RULE OF EVENT DRIVEN DESIGN IS NOTHING ELSE SHOULD CHANGE FOCUS WHILE SOMEONE IS TYPING!!!!
    FIX THIS PLEASE.
    Oh, I just ran out of capital letters. :) :) :)

  • Stop Firefox from telling you, you have not used it in a while and asking to reset it permanetly.

    I need to permanently, FOREVER, stop Firefox from telling me I have not used it in a while and prompting me to reset it. I have 100s of PCs that are frozen and as far as Firefox is concerned they ARE ALWAYS in need of being reset. This must go away. When Firefox starts on these PCs it MUST NEVER ask a question or prompt the user for anything EVER. All the decisions have already been made for the user and that MUST NOT CHANGE.

    Thanks for the reply. I have heard that about the file, but I need to know how to tell Firefox that I don't care about when it was last used etc. I can delete the file, but it will come back. So the real answer I need is how to tell Firefox "not to check" when it was last used in the first place, not what file contains that information.
    For now I will delete the file then, without starting Firefox I will freeze it and hope that will work. But Firefox needs a way that I can just tell it to not care.
    Thanks again for help,
    Ralph

  • How do I stop Firefox from thinking it crashed and doing a recovery when forced to use Windows Task manager to close a bad URL that I never want to go back to?

    Long question, I know :~) There are web sites that I may visit that will not allow me to exit the site, so I use Alt-Ctrl-Del in Windows to start the Task Manager and force the site to close by ending the program. The new version of Firefox (31.0) thinks that Firefox crashed and send me right back to the source of my problem.
    Your documentation for this process is as follows:
    After a crash
    Due to unexpected issues such as problems with a website, software errors, or an accidental loss of power, Firefox may unexpectedly close. In these situations, Firefox can restore the pages that you were visiting when it is restarted. Firefox will automatically restore your previous session, the first time you launch it after a crash.
    If Firefox crashes a second time, the Restore Session (i.e. "Well, this is embarrassing") page will appear when you next launch Firefox.
    ...and this is what I found trying to stop this process. Next, when I am forced to use Task Manager to close Firefox a second time to stop a badware site, then the 'Well this is embarrassing' dialog appears and I am finally safely away from the URL.
    I do not want Firefox automatically sending me back to a problem site.
    Thank you for any procedure you can suggest to stop Firefox from restoring problem web pages, Art Clapton

    I am unwilling to attempt navigation away from these sites. The pop-ups that occur on the attempt to leave a site or to close the browser are exit traps offering incentive to stay.
    Once upon a time, when the internet was less dangerous, I would be willing to close the exit pop-ups. Now, after twice being infected with malware trying to close the pop-ups, I now force close whichever browser I am using.
    Recently, I clicked on the red X to close one pop-up, and it installed a trojan that I had to pay to be removed. When I clicked on 'Leave' in another exit pop, it didn't exit and it turned out I was giving permission to run a script file. Now that criminals have learned these exit pop-ups can be used to force a click action, the sites using them have become dangerous.
    If I force the browser to close using Task manager, Please tell me how to stop FireFox from sending me directly back to the same site because it mistakenly believes it crashed when it did not. I forced it to close because I was on a site that had taken control of my browser and was not allowing me to leave the site.
    No other browser sends me back to the potentially dangerous sites. I prefer Firefox, but the new version must have a setting that allows me to get safely away from a problem site?

  • How do I stop Firefox from crashing? It crashes at various times, not when loading any specific pages.

    My crash problem has been going on for week, now. I tried uninstalling FF and reinstalling it. I hoped that would fix the problem, but it didn't. Crashes occur randomly, when loading or reloading pages but they are NOT specific pages. The Report ID listed below is just 1 of several reports from the past week.

    I am unwilling to attempt navigation away from these sites. The pop-ups that occur on the attempt to leave a site or to close the browser are exit traps offering incentive to stay.
    Once upon a time, when the internet was less dangerous, I would be willing to close the exit pop-ups. Now, after twice being infected with malware trying to close the pop-ups, I now force close whichever browser I am using.
    Recently, I clicked on the red X to close one pop-up, and it installed a trojan that I had to pay to be removed. When I clicked on 'Leave' in another exit pop, it didn't exit and it turned out I was giving permission to run a script file. Now that criminals have learned these exit pop-ups can be used to force a click action, the sites using them have become dangerous.
    If I force the browser to close using Task manager, Please tell me how to stop FireFox from sending me directly back to the same site because it mistakenly believes it crashed when it did not. I forced it to close because I was on a site that had taken control of my browser and was not allowing me to leave the site.
    No other browser sends me back to the potentially dangerous sites. I prefer Firefox, but the new version must have a setting that allows me to get safely away from a problem site?

  • How do I stop Firefox from playing video after I navigate from the page or leave Firefox?

    Simple and annoying. . Extremely frustrating issue with Firefox for Android. ..
    I watch a YouTube video or any flash video. . And after I hit play, the ONLY way to stop it is to hit pause or let it play to the end or close the tab. .
    It will NOT automatically stop if I open another tab. or if I navigate from Firefox. .
    I feel this is a very basic feature. Did I set something up that was wrong?
    Can I ask two questions?
    I have another extremely annoying and frustrating problem with Firefox for Android.
    The "top" (if you pull down the tabs) search bar DOES NOT allow my stock Samsung keyboard to auto space. . Thus instead of typing
    "How do I stop Firefox from playing video after I navigate from the page or leave Firefox?"
    I'll type in
    "HowdoIstopFirefoxfromplayingvideoafterInavigatefromthepageorleaveFirefox?"
    Unless I manually got the space bar.
    Using a recently factory data reset Samsung Galaxy s4 active.. android 4.2.2 and stock Samsung keyboard ... Firefox 34.0.1
    Thanks in advanced.
    Ps
    I was a hardcore xscope user for years and just recently gave in to Firefox when i lost all my bookmarks due to a forced factory data reset. .

    I'm using a different keyboard which works fine in the most top search bar...
    I cannot believe that it's not a feature.
    What if I was watching a video and wanted to shut it off quickly? I'll have to hit back? Wait for the previous screen to load then hit the power button?
    Please tell me that feature ids soon to come

  • How do I stop Firefox from coming to the front automatically?

    This happens when Firefox is open in the back ground to a web site and I am working in another program in the foreground. If the web site that is open sends me a message (eg., a new email or message from someone), Firefox automatically comes to the front, interrupting whatever I am doing in the other program (eg., Word). How do I stop Firefox from automatically coming to the front?

    i have even turned off itunes helper in the log in menu.
    Did you remove iTunes Helper from your Login Items?
    If not, you need to remove it from the Login iTunes. Checking an item in your Login Items list hides the item during startup, it doesn't turn it off or not checking the item doesn't turn it off. You need to remove it from your Login Items list if not removed.

  • How do I stop Firefox from trying to restore session every time I turn on my computer?

    How do I stop Firefox from doing this?

    Make sure that Firefox closes properly and that there isn't a hanging Firefox or plugin-container process left in the task manager.
    Use "Firefox/File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") to close Firefox if you are currently doing that by clicking the close X on the title bar.
    See also:
    *"Hang at exit": http://kb.mozillazine.org/Firefox_hangs
    *"Firefox hangs when you quit it": https://support.mozilla.org/kb/Firefox+hangs
    There are other things that need your attention.
    Please Update to the latest Firefox 17.0.x version.
    *Help > About Firefox
    *https://support.mozilla.org/kb/update-firefox-latest-version
    The Firefox Firefox 12.0 version that you currently run is no longer supported with security updates.<br />
    It is important to update Firefox and add-ons to the latest versions to get the latest bug fixes and security updates.

  • How do I stop firefox from keeping my email and password online for facebook?

    how do I stop firefox from keeping my email and password online for facebook?
    == This happened ==
    Every time Firefox opened
    == in the past week

    If you are not on Windows then see [http://kb.mozillazine.org/Menu_differences]
    See [[Options window - Security panel]]
    See also:
    * http://kb.mozillazine.org/Deleting_autocomplete_entries
    * http://kb.mozillazine.org/Password_Manager

  • How do I stop Firefox from filling in usernames and passwords when other people use my computer?

    When other people use my computer, how do I stop Firefox from filling in usernames and passwords?

    *Click the (empty) input field on the web page to open the drop down list
    *Highlight an entry in the drop down list
    *Press the Delete key (on Mac: Shift+Delete) to remove it.
    Remove saved Password(s):
    * Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    Password Manager:
    *http://kb.mozillazine.org/Password_Manager

Maybe you are looking for

  • For iPhone 5 why is there a third opening next to the ear speaker on the white phone but not on the black phone.

    why is there a third opening next to the phone speaker (besides the camera) on the white iPhone 5 but not on the black version

  • Install Oracle on Solaris Intel

    I have purchased Oracle8i Enterprise Edition, Release 2(8.1.6) for Intel Unix(Solaris Intel), and have installed successfully. However, as soon as I shut down and reboot the machine, I can connect to sqlplus internal, but I cannot log into the databa

  • Graphics in forms 6i patch 14

    hello, I know that i need de og.pll library to work with graphics in forms. But I don't know how to get it. or There are other type of call to ogr/ogd from forms. Thank you

  • Reg. ECC6.0 F1 help

    Hi, In ECC6.0 when i tried to see the F1 help it does not show any thing. Just a blank screen appears. What should be done to see the F1 help description? In se80 am not getting the repository browser option to select the program/function group/ pack

  • Checking aaa configuration using LMS Baseline Compliance Checks

    Hi, I'm trying to setup a baseline configuration check for our devices that will cover both "types" of aaa accounting commands. Some devices have the commands spread over mutliple lines and some have them in single lines as per the examples below. I