为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Adding actions for file extension on application in settings

  • 6 个回答
  • 1 人有此问题
  • 10 次查看
  • 最后回复者为 mmomalaysia

more options

Hello, my previous application settings was messed up after the latest automatic update, I attempted a refresh but all my previous extension on the application settings was lost, so whenever I click a file ie Zip, rar not on the list it will save only instead of having the option of open.

How may I add back the extension association to a particular application in firefox?

Previously it will automatically detect the default applications to file type in Windows.

Please don't suggest the restore old profile method, done that and didn't work. Refresh and reinstall also been done.

Hello, my previous application settings was messed up after the latest automatic update, I attempted a refresh but all my previous extension on the application settings was lost, so whenever I click a file ie Zip, rar not on the list it will save only instead of having the option of open. How may I add back the extension association to a particular application in firefox? Previously it will automatically detect the default applications to file type in Windows. Please don't suggest the restore old profile method, done that and didn't work. Refresh and reinstall also been done.
已附加屏幕截图

所有回复 (6)

more options

You can possibly copy handlers.json from the profile saved to the "Old Firefox Data" folder on the desktop to the current profile folder created due to the reset.

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory).

In Firefox 97 and 98+ there have been changes to the download panel.


You can set this pref to false on the about:config page to prevent opening the download panel on each download.

  • browser.download.alwaysOpenPanel = false

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.


You can copy certain files with Firefox closed to the current profile folder to transfer or recover personal data. Note that best is to avoid copying a full profile folder.


  • bookmarks and history: places.sqlite
  • favicons: favicons.sqlite
  • bookmark backups: compressed .jsonlz4 JSON backups in the bookmarkbackups folder
  • cookies.sqlite for the Cookies
  • formhistory.sqlite for saved autocomplete Form Data
  • logins.json (encrypted logins;32+) and key4.db (decryption key;58+) for Passwords saved in the Password Manager
    key3.db support ended in 73+; to use key3.db in 58-72, make sure to remove key4.db
  • cert9.db (58+) for (intermediate) certificates stored in the Certificate Manager
  • persdict.dat for words added to the spell checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other website specific data (Site Preferences)
  • sessionstore.jsonlz4 for open tabs and pinned tabs (see also the sessionstore-backups folder)
more options

cor-el said

You can possibly copy handlers.json from the profile saved to the "Old Firefox Data" folder on the desktop to the current profile folder created due to the reset. You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory). In Firefox 97 and 98+ there have been changes to the download panel.

You can set this pref to false on the about:config page to prevent opening the download panel on each download.

  • browser.download.alwaysOpenPanel = false

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.


You can copy certain files with Firefox closed to the current profile folder to transfer or recover personal data. Note that best is to avoid copying a full profile folder.


  • bookmarks and history: places.sqlite
  • favicons: favicons.sqlite
  • bookmark backups: compressed .jsonlz4 JSON backups in the bookmarkbackups folder
  • cookies.sqlite for the Cookies
  • formhistory.sqlite for saved autocomplete Form Data
  • logins.json (encrypted logins;32+) and key4.db (decryption key;58+) for Passwords saved in the Password Manager
    key3.db support ended in 73+; to use key3.db in 58-72, make sure to remove key4.db
  • cert9.db (58+) for (intermediate) certificates stored in the Certificate Manager
  • persdict.dat for words added to the spell checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other website specific data (Site Preferences)
  • sessionstore.jsonlz4 for open tabs and pinned tabs (see also the sessionstore-backups folder)

Thank you, but I already mentioned the old profile method doesn't work, it is no good anymore.

Is there a way for the browser to detect associated file extension types as in Windows and so I can add in actions later in application settings?

more options

The only way to add an item under "Settings -> General -> Applications" is via "Always Open Similar Files" in the context menu in the download panel or in the Downloads Manager (Library).

See "Adding download actions":

more options

cor-el said

The only way to add an item under "Settings -> General -> Applications" is via "Always Open Similar Files" in the context menu in the download panel or in the Downloads Manager (Library). See "Adding download actions":

Unfortunately this option didn't show up as I tried a file. Would the add-on "Content-Type Fixer by jscher2000" help? I see that this add-on wasn't monitored for security

more options

The file type showed up in application option after I installed the "Content-Type Fixer by jscher2000" add-on. I'll keep this topic open for another day to see if there is other option available before closing.

more options

Another question, when "opening" file action is selected; how to set the action into opening file from the "appdata/local/temp" folder?