Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

xlsx opens on the same tab instead of opening in excell

  • 2 відповіді
  • 1 має цю проблему
  • 40 переглядів
  • Остання відповідь від Jos_Vroon

more options

Hello,

Each time I click on a attached xlsx file it opens in the same tab in html format instead off opening in Excel resulting in jiberish. Any attached document should aether ask or open automatic with an external program. That is not the case. Checking options if its known in Firefox reveals it is not in the list of known extensions. So maybe Firefox does not know what do any more. It used to open properly but that is history it seems. This happens after the last update.

Hello, Each time I click on a attached xlsx file it opens in the same tab in html format instead off opening in Excel resulting in jiberish. Any attached document should aether ask or open automatic with an external program. That is not the case. Checking options if its known in Firefox reveals it is not in the list of known extensions. So maybe Firefox does not know what do any more. It used to open properly but that is history it seems. This happens after the last update.

Усі відповіді (2)

more options

Oh, that's bad. Each different attachment type should come from the server with its own Content-Type header instructing Firefox what kind of file it is. If the server is telling Firefox it's HTML or plain text -- you can use the Page Info dialog* to check on that -- Firefox will just barf it up in a tab in raw form, which is of course completely useless. However, Firefox does not have a feature where it inspects downloads and makes an independent decision about what type of content it is; the server needs to provide the correct information.

I don't know why Firefox would suddenly change behavior, since this is how it has always worked. Is it possible there was a change on the mail server side, or with an intermediary between Firefox and the server, such as security software that scans your downloads??

Anyway, I can suggest a temporary workaround, which is an add-on I wrote to fix bad Content-Type headers. If you want to give it a try:

https://addons.mozilla.org/firefox/addon/content-type-fixer/

When you first it install it, the extension is snoozing (Zzzz button). Click the button to turn it on. From that point, all .xlsx files should be associated with the proper Content-Type, which is "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet". Any improvement?

While it's listening, the extension intercepts all page requests and downloads, so it could slightly slow down browsing. I suggest snoozing it until you find a site where you need it.

* To call up Page Info, either:

  • right-click a blank area of the page and choose View Page Info
  • (menu bar) Tools menu > Page Info
more options

I thank you for your reply. Problem is when I open the same page on Edge (witch I really do not want to) the attachment work just fine. It is in a program I work with from the office I work for. So its Firefox related to my point of view.