搜尋 Mozilla 技術支援網站

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

Learn More

Downloads panel: Missing "Always Open Similar Files" for kdbx (keypass)

  • 5 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 Terry

more options

Until the recent update to v98, if/when I downloaded a kdbx file (from Google Drive, if that matters) - there was an association to Keypass to immediately open the file using Keypass. Since the update, this no longer happens - now, I can either select to automatically download the file ..or prompt where I want to download the file.

I'm unable to make additions to the Applications file types, and the only documented means of making that addition also does not happen for .kdbx files. I haven't tried other file types...

Oddly, my .nzb association was maintained, but the functionality now downloads the .nzb files to my specified download location rather than to temp files so I didn't have to bother with cleaning up.

Until the recent update to v98, if/when I downloaded a kdbx file (from Google Drive, if that matters) - there was an association to Keypass to immediately open the file using Keypass. Since the update, this no longer happens - now, I can either select to automatically download the file ..or prompt where I want to download the file. I'm unable to make additions to the Applications file types, and the only documented means of making that addition also does not happen for .kdbx files. I haven't tried other file types... Oddly, my .nzb association was maintained, but the functionality now downloads the .nzb files to my specified download location rather than to temp files so I didn't have to bother with cleaning up.
附加的畫面擷圖

所有回覆 (5)

more options

You would have to check the HTTP response headers to see how the server sends this file (Content-Type and Content-Disposition) as that is a possible cause for the missing menu item.

more options

If there's no "Always open..." it usually means the site provided a generic binary content-type for the file (application/octet-stream), which is a common tactic to force downloading because otherwise Firefox might be tempted to display the XML in a tab. Since the generic binary content type is used for EXE files, too, Firefox does not treat it as a type that can be listed in the Applications box.

I wonder why it worked before Firefox 98?

more options

jscher2000 - agreed, I'm curious to revert to an earlier version to confirm that the change is isolated to v98+. All I can see so far, is the change in v98 FF to no longer use the temp file location (which is additionally annoying).

Unrelated: I don't understand why the Downloads panel allows me to delete the file, but not the history in a single step.

more options

In case this is still a pain point, I can mention my add-on https://addons.mozilla.org/firefox/addon/content-type-fixer/

By default, it doesn't override unhelpful server identification of .kbdx files, but you can train it to do so. I have an example here (using OFX files, but the method is identical): https://www.jeffersonscher.com/ext/content-type-fixer.html

more options

Changing the preference (shown below in bold) in about:config may allow you to choose the download destination. It works for me but I never try to open files without downloading. The quote is from searchfox. org.

browser.download.useDownloadDir - bool True - Save files directly to the folder configured via the browser.download.folderList preference. False - Always ask the user where to save a file and default to browser.download.lastDir when displaying a folder picker dialog

https://support.mozilla.org/en-US/kb/about-config-editor-firefox