搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How do I get PDF files to *automatically* save as the file name provided by the source?

  • 4 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 RJL_web

more options

When I download a PDF file in Firefox, the file name changes from whatever name source used (e.g, important-report.pdf) to a miscellaneous group of characters (e.g., X2ba5zt.pdf). I often want to save the file using the 'source' name. I realize that can so do by changing the file name, but I would like to know if there is a way to set the default so that the source file name is used.

When I download a PDF file in Firefox, the file name changes from whatever name source used (e.g, important-report.pdf) to a miscellaneous group of characters (e.g., X2ba5zt.pdf). I often want to save the file using the 'source' name. I realize that can so do by changing the file name, but I would like to know if there is a way to set the default so that the source file name is used.

所有回复 (4)

more options

I am not seeing that behaviour. If I right-click a link to a .pdf file, I get the file saved with the original filename. Maybe one of the settings in about:config controls that? pdfjs.previousHandler.preferredAction is a setting that has a value of 4 with my setup. I have no idea what that means, and I could not find any explanation anywhere. You could try using different numbers for that value and see if any make any difference. Why has nobody bothered to explain that setting anywhere?

more options

Where do I find pdfjs.previousHandler.preferredAction? And shouldn't something like this be readily configured?

more options

That setting is in about:config. Do a search for pdf to find it there. I am not sure what that setting does, and it is the only one for pdf which is not straightforward.

more options

Thanks for your continued feedback.

I wonder if there is anyone else in the forum who could help both of us on this issue.