Scheduled maintenance: Thursday, September 24, between 11:30am and 13:30pm UTC. This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn’t solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cannot download apps, it shows gibberish on the page.

  • 33 replies
  • 6 have this problem
  • 561 views
  • Last reply by JennyeK

more options

After the latest update I cannot download apps from some locations. Whenever I click on the download button it acts as though it will download then up pops a page of gibberish (it looks like code). I haven't changed anything and all my downloads work just fine in IE and Chrome, so I know it's a Firefox problem.

All Replies (13)

more options

I also get a download dialog if I click the Download button with the link that jscher2000 provided (hadn't tested this before) and the file is send as text/plain, so maybe Firefox is doing some content sniffing after all.

You can try to delete the mimeTypes.rdf file in the Firefox profile folder to reset all file actions.

Clear the cache and the cookies from websites that cause problems.

"Clear the Cache":

  • Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"

"Remove Cookies" from sites causing problems:

  • Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"

Start Firefox in Safe Mode 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 or otherwise make changes.
more options

Thank you for your suggestions, however it's all just a bit too complicated for me! I'm not savvy enough to do all that you suggested so I guess I'll just have to live with it. Thanks!

more options

Well I made a mistake! When I used the Alt and left click it downloaded the .exe file and I assumed it was correct. When I went back and clicked on the exe file the famous gibberish file reared it's ugly head. Soooo, the bottom line is nothing has fixed this and I'm back where I started! Oh well....thanks....jennye

more options

I'm curious about the sequence of events. By default, when you click the download button on the main page, CNET displays a thank you page, then there is a brief delay, then you get a dialog to Save/Cancel the download. Are you going straight from the main page to gibberish?

Does it help if you turn on the redirection warning feature to prevent the automatic loading, and then try the link that says "Your download will begin in a moment. If it doesn't, restart the download."

To turn on the redirection warning:

orange Firefox button (or Tools menu) > Options > Advanced

On the "General" mini-tab, check the box for "Warn me when websites try to redirect or reload the page"

I'm not sure whether the "restart the download" link will serve the file any better. Do you notice any difference?

more options

Where are you clicking this .exe file?

If you do that on the download page then you are downloading this file once again and that makes Firefox display the file.

If you have downloaded and saved to file to your computer then you should run it via Windows Explorer by double-clicking the file.

more options

I click on the green download button and it redirects me to the page that says thank you, your download should start, then after a few seconds it jumps to the gibberish page. I clicked on the restart download button and got the gibberish. I tried your redirect thing and that didn't work either.

I click on the tools button at the top and click on downloads then double click on the file I just downloaded and the result is the same.

If I go to the downloads folder on my hard drive it does the same thing. No matter what the hell I do, it shows gibberish after the initial Thank You page!

more options

You can try these steps to reset the download actions:

Open the Troubleshooting Information page:

  • Firefox > Help > Troubleshooting Information

Find "Profile Directory" and click "Show Folder" to open the Firefox profile folder in Windows Explorer.

Close Firefox.

Find the mimeTypes.rdf file in the Firefox program folder that you have opened in Windows Explorer. Rename the file to mimeTypes.rdf.sav (i.e. append .sav to the current file name). Start Firefox and check if it has had any effect.

See also:

more options

Okay, this is a kludgey workaround, but until someone has a better idea...

First, turn on the redirect warning per the above message. This should prevent auto-loading of gibberish.

Then, on that download page, open Firefox's web console by pressing Ctrl+Shift+k.

This opens the developer tools pane at the bottom of the page or in a pop-up, depending on how yours is set up. Next to the caret (">"), paste this code and press Enter to run it (it's all one long line).

var url = document.querySelector("meta[http-equiv='Refresh'][content*='fileName']").getAttribute("content").split("URL=")[1]; var dnew = document.createElement("div"); dnew.setAttribute("style", "position:fixed; top:0; z-index:500; background:#ccc; padding:3em; width:100%"); dnew.innerHTML = "<p style=\"text-align:center;\"><a href=" + url + ">Right-click and Save Link As</a></p>"; document.body.appendChild(dnew);

This should yield the new link shown in the attached image.


If you download from CNET frequently, you could save this code to a button on the Bookmarks Toolbar. Not sure it's worth listing the steps. Let me know if that would be helpful.

more options

I changed the name of the file to the .sav on the end as you suggested. Then I reopened Firefox and when I did it put back in the previous file. I now have two files:

mimeTypes.rdf

mimeTypes.sav

I deleted the one and whenever I reopen Firefox, it puts it back in! I've had enough.....

more options

Firefox needs a mimeTypes.rdf. The point of renaming the old one was to force Firefox to generate a fresh one.

more options

Did renaming this file have any effect on downloading files from the CNET site?

more options

No it didn't. Firefox simply added the file as it was before. This is what I wrote last night:

I changed the name of the file to the .sav on the end as you suggested. Then I reopened Firefox and when I did it put back in the previous file. I now have two files:

mimeTypes.rdf

mimeTypes.sav

I deleted the one and whenever I reopen Firefox, it puts it back in! I've had enough.....

more options

After renaming and reopening Firefox, it still produced gibberish.

  1. 1
  2. 2