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".

Learn More

Firefox doesn't use internal PDF viewer

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

more options

On certain websites, Firefox would not open PDF files in-browser using PDFJS: I get a dialog box where the only possibilities are "Cancel" and "Save the file" (not even opening the file in an external reader).

I've tried various solutions found online: - delete the "mimeTypes.rdf" in the profile folder with Firefox closed - make sure "pdfjs.disabled" is set to "false" in the "about:config" page - set the application preference to "Preview in Firefox".

Actually, even setting the preference to "Use external viewer (okular)" won't change this "save/cancel" dialog box...

It seems to be pretty random when the preview works and when not. The latest example I have is a gitlab instance (with restricted access, so I cannot share it with you unfortunately).

On certain websites, Firefox would not open PDF files in-browser using PDFJS: I get a dialog box where the only possibilities are "Cancel" and "Save the file" (not even opening the file in an external reader). I've tried various solutions found online: - delete the "mimeTypes.rdf" in the profile folder with Firefox closed - make sure "pdfjs.disabled" is set to "false" in the "about:config" page - set the application preference to "Preview in Firefox". Actually, even setting the preference to "Use external viewer (okular)" won't change this "save/cancel" dialog box... It seems to be pretty random when the preview works and when not. The latest example I have is a gitlab instance (with restricted access, so I cannot share it with you unfortunately).

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

more options

Because the server is set to not open PDF inline. See https://addons.mozilla.org/fr/firefox/addon/inlinedisposition-2/

more options

Thanks, I didn't know that was something that could be configured at the server side. Anyway, even with the add-on, the problem persists...