Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

"do this automatically for files like this from now on" is missing completely

  • 3 trả lời
  • 1 gặp vấn đề này
  • 74 lượt xem
  • Trả lời mới nhất được viết bởi info6417

more options

I am helping somebody troubleshoot some issues with a new PC and they are using Firefox browser. They have some other PCs with Firefox as well, all running Windows 10 21H1 and up-to-date versions of Firefox. When they download files, the dialog asking to open or save is missing the option to "do this automatically for files like this from now on". It is present and works on the other PCs but not the new one. It doesn't matter what the file type is or where it comes from. Any help is appreciated. Thanks.

I am helping somebody troubleshoot some issues with a new PC and they are using Firefox browser. They have some other PCs with Firefox as well, all running Windows 10 21H1 and up-to-date versions of Firefox. When they download files, the dialog asking to open or save is missing the option to "do this automatically for files like this from now on". It is present and works on the other PCs but not the new one. It doesn't matter what the file type is or where it comes from. Any help is appreciated. Thanks.

Giải pháp được chọn

Hii info6417,

Hmm, I wonder if my extension would work for this? I have not tested Gmail myself for this, but the general MO is:

(A) Install from: https://addons.mozilla.org/firefox/addon/content-type-fixer/

(B) Click the toolbar button (Zzzz) to wake it up

(C) Try the download (you can cancel without saving/opening)

(D) Click the toolbar button and choose "Add/Edit Content Types"

That will take you to a log of recent requests. Click the "Add" button for the request and define it as text/html and then click Save Content-Type.

That should override any fake content type the site may be assigning to .html files to trigger the download dialog. Thank you -Arman

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (3)

more options

Giải pháp được chọn

Hii info6417,

Hmm, I wonder if my extension would work for this? I have not tested Gmail myself for this, but the general MO is:

(A) Install from: https://addons.mozilla.org/firefox/addon/content-type-fixer/

(B) Click the toolbar button (Zzzz) to wake it up

(C) Try the download (you can cancel without saving/opening)

(D) Click the toolbar button and choose "Add/Edit Content Types"

That will take you to a log of recent requests. Click the "Add" button for the request and define it as text/html and then click Save Content-Type.

That should override any fake content type the site may be assigning to .html files to trigger the download dialog. Thank you -Arman

more options

P.S. I'm the author of that extension, not Arman.

You can use its log to check the content-type for recent downloads was not the generic "application/octet-stream" type.

Assuming the servers are sending the correct content-type, it is strange that you would not get the checkbox. Is it possible to make changes that stick on the Settings page, or is Firefox not able to save those preferences? For example, for PDFs: View PDF files using Firefox’s built-in viewer.

more options

Thank you for the responses. The log showed that the server was sending incorrect info about the file and I was able to use the extension to solve the problem. I am unsure about other file types, but for now the issue is resolved.