Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

All downloads on firefox open as "file://" links

  • 无回复
  • 0 人有此问题
  • 3 次查看
more options

I am currently using Ubuntu 24.04. I recently switched from the snap ubuntu package to using the firefox APT package. However, I've noticed this really weird issue. Whenever I download a file, it always seems to have the "file://" link or mime type.

Say for example I download an mp4 video, trying to open it via firefox results in a dialog asking me to "select which application i want to open this file link in"

I have tried refreshing firefox, and tried completely removing it from my operating system (a search of my entirety of / showed no traces of anything relating to firefox), but even after a clean install, the issue persisted.

The only way I found that can fix this issue is by using firefox nightly, or using the firefox flatpak. And I'd prefer to not use either.

I was monitoring the browser console, and upon clicking on the file in the downloads list, It seems that firefox gets this error:

Uncaught (in promise) TypeError: defaultButton is undefined

   _setInitialFocusIfNeeded chrome://global/content/elements/dialog.js:318
   _postLoadInit chrome://global/content/elements/dialog.js:332
   connectedCallback chrome://global/content/elements/dialog.js:149

dialog.js:318:9

This error does not occur on firefox nightly.

I believe I have troubleshooted this as much as possible on my end, and I'm unsure of what to do about this. Could I please get a bit of help?

I am currently using Ubuntu 24.04. I recently switched from the snap ubuntu package to using the firefox APT package. However, I've noticed this really weird issue. Whenever I download a file, it always seems to have the "file://" link or mime type. Say for example I download an mp4 video, trying to open it via firefox results in a dialog asking me to "select which application i want to open this file link in" I have tried refreshing firefox, and tried completely removing it from my operating system (a search of my entirety of / showed no traces of anything relating to firefox), but even after a clean install, the issue persisted. The only way I found that can fix this issue is by using firefox nightly, or using the firefox flatpak. And I'd prefer to not use either. I was monitoring the browser console, and upon clicking on the file in the downloads list, It seems that firefox gets this error: Uncaught (in promise) TypeError: defaultButton is undefined _setInitialFocusIfNeeded chrome://global/content/elements/dialog.js:318 _postLoadInit chrome://global/content/elements/dialog.js:332 connectedCallback chrome://global/content/elements/dialog.js:149 dialog.js:318:9 This error does not occur on firefox nightly. I believe I have troubleshooted this as much as possible on my end, and I'm unsure of what to do about this. Could I please get a bit of help?

您需要登录才能回复。如果您还没账号,可以提出新问题