搜尋 Mozilla 技術支援網站

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

了解更多

Different default actions for local vs. remote files

  • 2 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 alphanum

more options

I have set the default action for pdf documents to automatic download, which I would like to keep. Is it possible to have different behaviour for local (file:/foo.pdf) links, namely to automatically open them (e.g. using a plugin) instead of "downloading" them again?

I am asking this because I would like to generate a local html file to conveniently browse and organize my growing collection of scientific papers, which are stored locally.

I have set the default action for pdf documents to automatic download, which I would like to keep. Is it possible to have different behaviour for local (file:/foo.pdf) links, namely to automatically open them (e.g. using a plugin) instead of "downloading" them again? I am asking this because I would like to generate a local html file to conveniently browse and organize my growing collection of scientific papers, which are stored locally.

被選擇的解決方法

I solved this for now by creating two different profiles with the corresponding file actions. Of course this is not the optimal solution as I need to keep two instances of the browser running and I need to use the correct instance for local vs. remote browsing

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

所有回覆 (2)

more options

Hello,

In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see How do I create a screenshot of my problem?

Once you've done this, attach the saved screenshot file to your forum post by clicking the Browse... button below the Post your reply box. This will help us to visualize the problem.

Thank you!

more options

選擇的解決方法

I solved this for now by creating two different profiles with the corresponding file actions. Of course this is not the optimal solution as I need to keep two instances of the browser running and I need to use the correct instance for local vs. remote browsing