搜尋 Mozilla 技術支援網站

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

了解更多

toolbar download item: open a file from list don't use related application

more options

Hi I'm using FF 62 on Ubuntu desktop 16.04 64bit when I download a file the button "Icon down" in the toolbar became blue. clicking on it open a list of downloaded files. clicking on a file on the list, not open the file with his related application. example: I download a pdf, then clicking on it open vscode !! If I open the download page from "history, bookmark etc" toolbar button and I click on a pdf file to open it, the file open in Document Viewer as expected. what I can do to fix ?

Hi I'm using FF 62 on Ubuntu desktop 16.04 64bit when I download a file the button "Icon down" in the toolbar became blue. clicking on it open a list of downloaded files. clicking on a file on the list, not open the file with his related application. example: I download a pdf, then clicking on it open vscode !! If I open the download page from "history, bookmark etc" toolbar button and I click on a pdf file to open it, the file open in Document Viewer as expected. what I can do to fix ?

所有回覆 (1)

more options

When you open a saved file from the Downloads panel, Firefox usually looks to your OS-level association for the content. If the file has a .pdf extension on the name, that normally would be some kind of PDF reader and not VSCode. But some sites may not send a full file name, or Firefox might save under a script name such as pushpdf.php in which case it would make more sense that it opens in VSCode.

When you open content from a link in a page, Firefox takes its cue from the Content-Type header sent with the content instead of from the file extension. So if the site sends application/pdf Firefox will, by default, use the built-in PDF viewer regardless of whether it's a .pdf, .jsp, etc.