搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox automatically download files .docx from facebook page as pdf

more options

Hello, I have problem with firefox. When I try download from facebook page files .docx, .xlsx (Microsoft Office) Firefox automatically download it as PDF and file is broken. I don't know how to repair this. Please help, it is very frustrating.

Hello, I have problem with firefox. When I try download from facebook page files .docx, .xlsx (Microsoft Office) Firefox automatically download it as PDF and file is broken. I don't know how to repair this. Please help, it is very frustrating.

被選擇的解決方法

Update!

The problem has gone, I didn't do anything after steps above. I think that maybe new update of firefox solved the problem.

Greetings and thanks to all who were trying to help!

從原來的回覆中察看解決方案 👍 0

所有回覆 (14)

more options

This could be about a new security feature that blocks unsafe downloads, but can interfere with downloading files. You can set dom.block_download_insecure => false in about:config to disable this feature.

有幫助嗎?

more options

I have set "false" before. I set now too "true" and there is the same problem. I switched back to "false" and firefox still download files .docs as .pdf.

有幫助嗎?

more options

Try clearing site cookies and disabling Tracking Protection for the site.

Does it still happen in Troubleshoot Mode?

有幫助嗎?

more options

Hello, Well solution with clearing cookies help, but for a while. Problem is still existing and it is very frustrating. I send attachments, how it looks like. Please help if you have any solution. When I try download file from facebook friend whenever it is in format: .m, docs (powerpoint, excel, word, matlab) firefox always see this as pdf file. It only download right files .jpg/png and .pdf.

Greetings.

由 Mateusz (Mateuszy) 於 修改

有幫助嗎?

more options

zeroknight said

Try clearing site cookies and disabling Tracking Protection for the site. Does it still happen in Troubleshoot Mode?

Yes in Troubleshoot Mode it still happen.

有幫助嗎?

more options

What does the Network Monitor or the Browser Console show about the HTTP response headers for this download request? Is this content-disposition:attachment or a generic content type as it is possible that Firefox associates this content type with PDF for some reason?

有幫助嗎?

more options

有幫助嗎?

more options

Reboot the computer into Windows Safe Mode with network support to see if that has effect.

有幫助嗎?

more options

cor-el powiedział

What does the Network Monitor or the Browser Console show about the HTTP response headers for this download request? Is this content-disposition:attachment or a generic content type as it is possible that Firefox associates this content type with PDF for some reason?

Okay, I used browser console, because network monitor doesn't show anything suspicious. I cleared console to make sure that console will show only fails with trying downloading files .docx from facebook. As you can see in the attachment the main error is: NotFoundError: No such JSProcessActor 'BrowserToolboxDevToolsProcess'. It always show whenever I want to download file .docx from facebook and it download as .pdf file. The others fails behind this main error are showing after a few seconds.

有幫助嗎?

more options

jscher2000 - Support Volunteer powiedział

Cross-posted on r/Firefox: https://www.reddit.com/r/firefox/comments/1d3cv43/firefox_recognizes_docx_and_xlsx_files_as_pdf_im/

Thank you, but nothing helps on my problem. Extension too not solve problem.

有幫助嗎?

more options

Mateusz (Mateuszy) said

cor-el powiedział

What does the Network Monitor or the Browser Console show about the HTTP response headers for this download request? Is this content-disposition:attachment or a generic content type as it is possible that Firefox associates this content type with PDF for some reason?

Okay, I used browser console, because network monitor doesn't show anything suspicious. I cleared console to make sure that console will show only fails with trying downloading files .docx from facebook. As you can see in the attachment the main error is: NotFoundError: No such JSProcessActor 'BrowserToolboxDevToolsProcess'. It always show whenever I want to download file .docx from facebook and it download as .pdf file. The others fails behind this main error are showing after a few seconds.

In the Browser Console:

(A) Switch to Multiprocess (Slower) (B) On the filter bar, turn on "Requests" at the right end (C) On the filter bar, click the gear/wheel icon at the right end and make sure Enable Network Monitoring (first item) has a check mark

Then after trying the download again. In the message list, click the URL for the download request to expand the details panels. The most obvious potential source of problems is a bad Content-Type header in the Response headers.

Mateusz (Mateuszy) said

jscher2000 - Support Volunteer powiedział

Cross-posted on r/Firefox: https://www.reddit.com/r/firefox/comments/1d3cv43/firefox_recognizes_docx_and_xlsx_files_as_pdf_im/

Thank you, but nothing helps on my problem. Extension too not solve problem.

Just to confirm, you turned on listening by clicking the button -- Zzzz is removed and a yellow starburst appears behind the hammer. After trying the download again, click the hammer button and then click "Add/Edit Content Types (view log). The log should show the information sent by the server and whether the extension changed it. Note that this works by intercepting responses from the network. If the download is constructed by a script in the page without a network request, then the extension can't intercept it.

有幫助嗎?

more options

jscher2000 - Support Volunteer powiedział

Mateusz (Mateuszy) said

cor-el powiedział

What does the Network Monitor or the Browser Console show about the HTTP response headers for this download request? Is this content-disposition:attachment or a generic content type as it is possible that Firefox associates this content type with PDF for some reason?

Okay, I used browser console, because network monitor doesn't show anything suspicious. I cleared console to make sure that console will show only fails with trying downloading files .docx from facebook. As you can see in the attachment the main error is: NotFoundError: No such JSProcessActor 'BrowserToolboxDevToolsProcess'. It always show whenever I want to download file .docx from facebook and it download as .pdf file. The others fails behind this main error are showing after a few seconds.

In the Browser Console:

(A) Switch to Multiprocess (Slower) (B) On the filter bar, turn on "Requests" at the right end (C) On the filter bar, click the gear/wheel icon at the right end and make sure Enable Network Monitoring (first item) has a check mark

Then after trying the download again. In the message list, click the URL for the download request to expand the details panels. The most obvious potential source of problems is a bad Content-Type header in the Response headers.

Mateusz (Mateuszy) said

jscher2000 - Support Volunteer powiedział

Cross-posted on r/Firefox: https://www.reddit.com/r/firefox/comments/1d3cv43/firefox_recognizes_docx_and_xlsx_files_as_pdf_im/

Thank you, but nothing helps on my problem. Extension too not solve problem.

Just to confirm, you turned on listening by clicking the button -- Zzzz is removed and a yellow starburst appears behind the hammer. After trying the download again, click the hammer button and then click "Add/Edit Content Types (view log). The log should show the information sent by the server and whether the extension changed it. Note that this works by intercepting responses from the network. If the download is constructed by a script in the page without a network request, then the extension can't intercept it.

Ok, I followed all your steps. In the attachments are results. Yes extension is enabled on the yellow background.

有幫助嗎?

more options

Thank you for the screenshots.

I was expecting to see a request to Facebook, or a Facebook domain like fbcdn. I don't see that in either the Log recorded by the add-on (you might need to click Refresh List if it was already open) or in the Browser Console.

有幫助嗎?

more options

選擇的解決方法

Update!

The problem has gone, I didn't do anything after steps above. I think that maybe new update of firefox solved the problem.

Greetings and thanks to all who were trying to help!

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題