Wersije pśirownaś

用户配置文件——Firefox 保存书签、密码和其他用户数据的文件

Wersija 294408:

Wersija 294408 wót wužywarja wxie2016

Wersija 301866:

Wersija 301866 wót wužywarja wxie2016

Klucowe słowa:

文件 信息 设置 配置 设定 位置
文件 信息 设置 配置 设定 位置

Zespominanje pytańskich wuslědkow:

Firefox 在用户配置文件夹中存储您的个人信息和设置。在此了解什么是用户配置文件和如何找到它。
Firefox 在用户配置文件夹中存储您的个人信息和设置。在此了解什么是用户配置文件和如何找到它。

Wopśimjeśe:

您对 Firefox 做的所有更改,比如您的主页、工具栏、扩展、保存的密码以及书签等,都被保存在一个特别的文件夹中,称为''用户配置文件''夹。您的用户配置文件夹和 Firefox 的程序文件并不在一起,这样一旦 Firefox 出现问题,您的数据和设置仍旧是安全的。也就是说,您可以卸载 Firefox 后仍保留您的个人信息;相应地,如果要清除您的设置或修复某些故障时,您也不用重新安装 Firefox。 __TOC__ = 怎么找到我的用户配置文件?= 你可以在 [[Use the Troubleshooting Information page to help fix Firefox issues|排障信息]] (about:support) 页面找到配置文件并打开: [[T:OpenProfileFolder]] ==在不打开 Firefox 的情况下找到您的用户配置文件== <!-- DO NOT RENAME OR REMOVE THIS SECTION! It's linked from Template:OpenProfileFolder (see discussion). --> {for win} {for not winxp} Firefox默认在以下本地路径保存你的配置文件:<br> {filepath C:\Users\<your Windows login username>\AppData\Roaming\Mozilla\Firefox\Profiles\}<br> Windows 默认会隐藏文件夹 {filepath AppData},但是你可以按以下方法找到你的配置文件夹: {for win10,win11} #在键盘上按下 {key [[Image:Windows Key]]}+{key R},“运行”对话框将打开。 #* 另外,你还可以按下 {key [[Image:Windows Key]]} 键并使用搜索框。 # 输入:<br>'''%APPDATA%\Mozilla\Firefox\Profiles\''' # 点击 {button 确定},将打开一个包含配置文件文件夹的窗口。 # 打开你需要的配置文件文件夹。如果你只有一个配置文件,那么它的文件夹名会有“default”字样。 <!-- bug 1731753 workaround, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1731753 https://support.mozilla.org/en-US/questions/1460897 --> {note}MSIX(Microsoft Store)的 Firefox 版本把配置文件保存在不同的文件夹。要检查你是否使用此版本,请: # 在 Firefox 地址栏输入 '''about:support''' 打开 [[Use the Troubleshooting Information page to help fix Firefox issues|故障排除信息页面]]。 # 在 ''应用基础'' 部分,点击 ''Distribution ID''。 # 如果看到 ''mozilla-MSIX'' 字样,那么说明你在使用 MSIX (微软应用商店) Firefox 版本。 要在版本找到配置文件夹,请: # 按下键盘按键 {key [[Image:Windows Key]]}+{key R} 打开运行对话框。 # 输入:<br>'''%LOCALAPPDATA%\Packages\Mozilla.Firefox'''<br>,不要按回车。一个应用列表文件夹会打开。 # 点击推荐的文件夹。并添加:<br>'''\LocalCache\Roaming\Mozilla\Firefox\Profiles\''' # 点击 {button 确认}。配置文件夹窗口会打开。 {/note} #;[[Image:ab167bec686b081a25849c98d6bf9ea7-1258940859-69-1.png]] {/for} {note}'''注意:'''如果要设置 Windows 显示隐藏的文件夹,比如{filepath AppData},请参看 {for win7,win8}[https://support.microsoft.com/help/14201/windows-show-hidden-files 显示隐藏文件 - Windows 帮助]{/for}{for win10}[https://support.microsoft.com/windows/view-hidden-files-and-folders-in-windows-97fbc472-c603-9d90-91d0-1166d1d9f4b5#WindowsVersion=Windows_10 显示隐藏文件和文件夹 - Windows 帮助]{/for}{for win11}[https://support.microsoft.com/windows/view-hidden-files-and-folders-in-windows-97fbc472-c603-9d90-91d0-1166d1d9f4b5#WindowsVersion=Windows_11 显示隐藏文件和文件夹 - Windows 帮助]{/for}{/note} {/for} {for winxp} # 点击 Windows {button 开始} 按钮,选择 {menu 运行…}。 #;[[Image:win-run.png]] # 输入<br>'''%APPDATA%\Mozilla\Firefox\Profiles\''' <br>然后点击 {button 确定}。<br/>一个包含配置文件目录的窗口会打开。 #;[[Image:win-run.png]] # 打开配置文件目录。如果你只有一个配置文件,那么它的目录名会有“default”字样。 {/for} {/for} {for mac} #点击程序坞中的 '''访达''' 图标。在菜单栏上点击 {menu 前往} 菜单,按住 {key option} 或 {key alt} 键,并选择 {menu 资源库},将打开一个包含库文件夹的窗口。 #打开{filepath Application Support}文件夹,然后打开{filepath Firefox}文件夹,再打开{filepath Profiles}文件夹。 #你的配置文件就在此目录。如果你只有一个配置文件,那么它的目录名会有“default”字样。 {/for} {for linux} # '''(Ubuntu)'''点击屏幕右上方的 {menu 位置} 菜单并选择 {menu Home 文件夹}。文件浏览器窗口将会出现。 # 点击 {menu 视图} 菜单,如果 {menu 显示隐藏文件} 没有被选中,则选中此项。 # 双击文件夹 {filepath .mozilla}。 # 双击文件夹 {filepath firefox}。您的用户配置文件夹就保存在这个文件夹中。如果你只有一个配置文件,那么它的目录名会有“default”字样。 {/for} = 用户配置文件储存了哪些信息? = {note}'''注意:'''此处是不完全列表,仅介绍对于数据恢复有用的重要信息。{/note} <!-- If file names are updated for a new Firefox version, also review the https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile article and update, if necessary. --> '''书签、下载历史和浏览历史:''' *{filepath places.sqlite}<br>该文件包含了您在 Firefox 中所有的书签、下载文件的记录和浏览网页的记录。 *{filepath bookmarkbackups}<br>该文件夹中存储着书签备份文件,这些文件可以用来恢复您的书签。 *{filepath favicons.sqlite}<br>该文件包含了您所有的网页图标。 更多信息请参见 [[Bookmarks in Firefox]] 和 [[Restore bookmarks from backup or move them to another computer]]。 '''密码:''' *{filepath key4.db} *{filepath logins.json}<br><br>您的密码被保存在这两个文件中。更多信息请参考 [[Password Manager - Remember, delete and edit logins and passwords in Firefox]]。 '''站点自定的首选项:''' *{filepath permissions.sqlite} *{filepath content-prefs.sqlite}<br><br>这两个文件中保存了许多针对站点的权限设置(比如哪些网站允许弹出窗口),或者针对站点的页面缩放级别(参看 [[Font size and zoom - increase the size of web pages]])。 '''搜索引擎:''' *{filepath search.json.mozlz4}<br>该文件存储着用户安装的搜索引擎。更多信息,参看[[Add or remove a search engine in Firefox]]。 '''用户词典:''' *{filepath persdict.dat}<br>该文件保存着一些您添加到 Firefox字典中的自定义的词。更多信息请参考 [[How do I use the Firefox spell checker?]]。 '''自动完成历史:''' *{filepath formhistory.sqlite}<br>这里记录着您曾经通过 Firefox 搜索框搜索的历史,以及您曾经在网站填写过的表单。更多信息请参考 [[Control whether Firefox automatically fills in forms]]。 '''Cookie:''' *{filepath cookies.sqlite}<br>[[Cookies - Information that websites store on your computer|Cookie]] 保留着一些您曾访问过的网站的信息(通常是您的网站首选项或登录状态等信息)。Cookie 被保存在此文件中。 '''DOM 存储:''' DOM 存储是比 Cookie 更大、更安全、更易用的另一种储存信息的方式。 *{filepath webappsstore.sqlite}<br>每个网站的信息都被存储在此文件中。 *{filepath chromeappsstore.sqlite}<br>该文件存储着 [http://kb.mozillazine.org/About_protocol_links about:*] 页面的信息。 '''扩展:''' *{filepath extensions}<br>该文件夹保存着已安装的 [https://addons.mozilla.org/firefox/extensions/ 扩展]。要了解更多关于 Firefox 扩展和其他附加组件的信息,请参看 [[Find and install add-ons to add features to Firefox]]。 '''安全证书设置:''' *{filepath cert9.db}<br>该文件保存着您所有的安全证书设置,以及您向 Firefox 中导入的 SSL 证书。 '''安全设备设置:'''<!-- is this entry really needed? We don't mention Security device settings, secmod.db or security module database in any other KB article. --> *{filepath pkcs11.txt}<br>该文件是保存安全模块配置的文件。 '''下载动作:''' *{filepath handlers.json}<br>该文件保存着您设定的当某个文件类型打开时 Firefox 应该做的动作。例如当您在 Firefox 中点击一个视频文件的链接时, Firefox 将使用相应的播放器打开它。更多信息请参考 [[Manage file types and download actions in Firefox]]。<!-- 原文 42358 中的 PDF 举例已经过时,默认打开方式被 Firefox 自带的 PDF.js 代替 --> '''保存的会话:''' *{filepath sessionstore.jsonlz4}<br>该文件存储了当前打开着的标签页和窗口。更多信息,请参考 [[Restore previous session - Configure when Firefox shows your most recent tabs and windows]]。 '''窗口位置和对话框设置:''' *{filepath xulstore.json}<br>该文件存储了 Firefox 主窗口和足迹窗口的大小和位置、足迹窗口中已选的栏目以及书签边栏和历史记录边栏中已展开的文件夹。 '''用户首选项:''' *{filepath prefs.js}<br>该文件存储着经过自定义的用户首选项设置,如您在 Firefox [[Template:optionsorpreferences]] 对话框中和在定制工具栏时([[Customize Firefox controls, buttons and toolbars]])所做的更改。可能还有 {filepath user.js} 文件,如果这个文件存在,它会以该文件中的内容覆盖相应的首选项。 '''身份:''' *{filepath containers.json}<br>该文件存储了 [[Multi-Account Containers|身份标签页功能]] 使用的身份的详细信息,包括那些由 [[acebook Container - Prevent Facebook from tracking you on other websites|Facebook Container]] 等扩展创建的身份。 = 使用用户配置文件 = *[[Profile Manager - Create, remove or switch Firefox profiles]] 介绍了如何创建一个新的用户配置文件,如何设置默认配置以及如何删除一个旧的用户配置文件。 *[[Recover user data missing after Firefox update]] 解释了在有多个用户配置文件时,如何使用配置管理器来切换配置。 *[[Back up and restore information in Firefox profiles]] 介绍了如何备份并恢复用户配置文件,此外还有如何移动您的用户配置文件到您硬盘的其它位置或另一台电脑。 *[[Recovering important data from an old profile]] 如何将文件复制到新的用户配置文件中,包括一个存储了对恢复有用的信息的文件列表。
您对 Firefox 做的所有更改,比如您的主页、工具栏、扩展、保存的密码以及书签等,都被保存在一个特别的文件夹中,称为''用户配置文件''夹。您的用户配置文件夹和 Firefox 的程序文件并不在一起,这样一旦 Firefox 出现问题,您的数据和设置仍旧是安全的。也就是说,您可以 [[Uninstall Firefox from your computer|卸载 Firefox]] 后仍保留您的个人信息;相应地,如果要清除您的设置或修复某些故障时,您也不用重新安装 Firefox。 __TOC__ = 怎么找到我的用户配置文件?= 你可以在 [[Use the Troubleshooting Information page to help fix Firefox issues|排障信息]] (about:support) 页面找到配置文件并打开: [[T:OpenProfileFolder]] ==在不打开 Firefox 的情况下找到您的用户配置文件== <!-- DO NOT RENAME OR REMOVE THIS SECTION! It's linked from Template:OpenProfileFolder (see discussion). --> {for win} {for not winxp} Firefox默认在以下本地路径保存你的配置文件:<br> {filepath C:\Users\<your Windows login username>\AppData\Roaming\Mozilla\Firefox\Profiles\}<br> Windows 默认会隐藏文件夹 {filepath AppData},但是你可以按以下方法找到你的配置文件夹: {for win10,win11} #在键盘上按下 {key [[Image:Windows Key]]}+{key R},“运行”对话框将打开。 #* 另外,你还可以按下 {key [[Image:Windows Key]]} 键并使用搜索框。 # 输入:<br>'''%APPDATA%\Mozilla\Firefox\Profiles\''' # 点击 {button 确定},将打开一个包含配置文件文件夹的窗口。 # 打开你需要的配置文件文件夹。如果你只有一个配置文件,那么它的文件夹名会有“default”字样。 <!-- bug 1731753 workaround, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1731753 https://support.mozilla.org/en-US/questions/1460897 --> {note}MSIX(Microsoft Store)的 Firefox 版本把配置文件保存在不同的文件夹。要检查你是否使用此版本,请: # 在 Firefox 地址栏输入 '''about:support''' 打开 [[Use the Troubleshooting Information page to help fix Firefox issues|故障排除信息页面]]。 # 在 ''应用基础'' 部分,点击 ''Distribution ID''。 # 如果看到 ''mozilla-MSIX'' 字样,那么说明你在使用 MSIX (微软应用商店) Firefox 版本。 要在版本找到配置文件夹,请: # 按下键盘按键 {key [[Image:Windows Key]]}+{key R} 打开运行对话框。 # 输入:<br>'''%LOCALAPPDATA%\Packages\Mozilla.Firefox'''<br>,不要按回车。一个应用列表文件夹会打开。 # 点击推荐的文件夹。并添加:<br>'''\LocalCache\Roaming\Mozilla\Firefox\Profiles\''' # 点击 {button 确认}。配置文件夹窗口会打开。 {/note} #;[[Image:ab167bec686b081a25849c98d6bf9ea7-1258940859-69-1.png]] {/for} {note}'''注意:'''如果要设置 Windows 显示隐藏的文件夹,比如{filepath AppData},请参看 {for win7,win8}[https://support.microsoft.com/help/14201/windows-show-hidden-files 显示隐藏文件 - Windows 帮助]{/for}{for win10}[https://support.microsoft.com/windows/view-hidden-files-and-folders-in-windows-97fbc472-c603-9d90-91d0-1166d1d9f4b5#WindowsVersion=Windows_10 显示隐藏文件和文件夹 - Windows 帮助]{/for}{for win11}[https://support.microsoft.com/windows/view-hidden-files-and-folders-in-windows-97fbc472-c603-9d90-91d0-1166d1d9f4b5#WindowsVersion=Windows_11 显示隐藏文件和文件夹 - Windows 帮助]{/for}{/note} {/for} {for winxp} # 点击 Windows {button 开始} 按钮,选择 {menu 运行…}。 #;[[Image:win-run.png]] # 输入<br>'''%APPDATA%\Mozilla\Firefox\Profiles\''' <br>然后点击 {button 确定}。<br/>一个包含配置文件目录的窗口会打开。 #;[[Image:win-run.png]] # 打开配置文件目录。如果你只有一个配置文件,那么它的目录名会有“default”字样。 {/for} {/for} {for mac} #点击程序坞中的 '''访达''' 图标。在菜单栏上点击 {menu 前往} 菜单,按住 {key option} 或 {key alt} 键,并选择 {menu 资源库},将打开一个包含库文件夹的窗口。 #打开{filepath Application Support}文件夹,然后打开{filepath Firefox}文件夹,再打开{filepath Profiles}文件夹。 #你的配置文件就在此目录。如果你只有一个配置文件,那么它的目录名会有“default”字样。 {/for} {for linux} # '''(Ubuntu)'''点击屏幕右上方的 {menu 位置} 菜单并选择 {menu Home 文件夹}。文件浏览器窗口将会出现。 # 点击 {menu 视图} 菜单,如果 {menu 显示隐藏文件} 没有被选中,则选中此项。 # 双击文件夹 {filepath .mozilla}。 # 双击文件夹 {filepath firefox}。您的用户配置文件夹就保存在这个文件夹中。如果你只有一个配置文件,那么它的目录名会有“default”字样。 {/for} = 用户配置文件储存了哪些信息? = {note}'''注意:'''此处是不完全列表,仅介绍对于数据恢复有用的重要信息。{/note} <!-- If file names are updated for a new Firefox version, also review the https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile article and update, if necessary. --> '''书签、下载历史和浏览历史:''' *{filepath places.sqlite}<br>该文件包含了您在 Firefox 中所有的书签、下载文件的记录和浏览网页的记录。 *{filepath bookmarkbackups}<br>该文件夹中存储着书签备份文件,这些文件可以用来恢复您的书签。 *{filepath favicons.sqlite}<br>该文件包含了您所有的网页图标。 更多信息请参见 [[Bookmarks in Firefox]] 和 [[Restore bookmarks from backup or move them to another computer]]。 '''密码:''' *{filepath key4.db} *{filepath logins.json}<br><br>您的密码被保存在这两个文件中。更多信息请参考 [[Password Manager - Remember, delete and edit logins and passwords in Firefox]]。 '''站点自定的首选项:''' *{filepath permissions.sqlite} *{filepath content-prefs.sqlite}<br><br>这两个文件中保存了许多针对站点的权限设置(比如哪些网站允许弹出窗口),或者针对站点的页面缩放级别(参看 [[Font size and zoom - increase the size of web pages]])。 '''搜索引擎:''' *{filepath search.json.mozlz4}<br>该文件存储着用户安装的搜索引擎。更多信息,参看[[Add or remove a search engine in Firefox]]。 '''用户词典:''' *{filepath persdict.dat}<br>该文件保存着一些您添加到 Firefox字典中的自定义的词。更多信息请参考 [[How do I use the Firefox spell checker?]]。 '''自动完成历史:''' *{filepath formhistory.sqlite}<br>这里记录着您曾经通过 Firefox 搜索框搜索的历史,以及您曾经在网站填写过的表单。更多信息请参考 [[Control whether Firefox automatically fills in forms]]。 '''Cookie:''' *{filepath cookies.sqlite}<br>[[Cookies - Information that websites store on your computer|Cookie]] 保留着一些您曾访问过的网站的信息(通常是您的网站首选项或登录状态等信息)。Cookie 被保存在此文件中。 '''DOM 存储:''' DOM 存储是比 Cookie 更大、更安全、更易用的另一种储存信息的方式。 *{filepath webappsstore.sqlite}<br>每个网站的信息都被存储在此文件中。 *{filepath chromeappsstore.sqlite}<br>该文件存储着 [http://kb.mozillazine.org/About_protocol_links about:*] 页面的信息。 '''扩展:''' *{filepath extensions}<br>该文件夹保存着已安装的 [https://addons.mozilla.org/firefox/extensions/ 扩展]。要了解更多关于 Firefox 扩展和其他附加组件的信息,请参看 [[Find and install add-ons to add features to Firefox]]。 '''安全证书设置:''' *{filepath cert9.db}<br>该文件保存着您所有的安全证书设置,以及您向 Firefox 中导入的 SSL 证书。 '''安全设备设置:'''<!-- is this entry really needed? We don't mention Security device settings, secmod.db or security module database in any other KB article. --> *{filepath pkcs11.txt}<br>该文件是保存安全模块配置的文件。 '''下载动作:''' *{filepath handlers.json}<br>该文件保存着您设定的当某个文件类型打开时 Firefox 应该做的动作。例如当您在 Firefox 中点击一个视频文件的链接时, Firefox 将使用相应的播放器打开它。更多信息请参考 [[Manage file types and download actions in Firefox]]。<!-- 原文 42358 中的 PDF 举例已经过时,默认打开方式被 Firefox 自带的 PDF.js 代替 --> '''保存的会话:''' *{filepath sessionstore.jsonlz4}<br>该文件存储了当前打开着的标签页和窗口。更多信息,请参考 [[Restore previous session - Configure when Firefox shows your most recent tabs and windows]]。 '''窗口位置和对话框设置:''' *{filepath xulstore.json}<br>该文件存储了 Firefox 主窗口和足迹窗口的大小和位置、足迹窗口中已选的栏目以及书签边栏和历史记录边栏中已展开的文件夹。 '''用户首选项:''' *{filepath prefs.js}<br>该文件存储着经过自定义的用户首选项设置,如您在 Firefox [[Template:optionsorpreferences]] 对话框中和在定制工具栏时([[Customize Firefox controls, buttons and toolbars]])所做的更改。可能还有 {filepath user.js} 文件,如果这个文件存在,它会以该文件中的内容覆盖相应的首选项。 '''身份:''' *{filepath containers.json}<br>该文件存储了 [[Multi-Account Containers|身份标签页功能]] 使用的身份的详细信息,包括那些由 [[acebook Container - Prevent Facebook from tracking you on other websites|Facebook Container]] 等扩展创建的身份。 = 使用用户配置文件 = *[[Profile Manager - Create, remove or switch Firefox profiles]] 介绍了如何创建一个新的用户配置文件,如何设置默认配置以及如何删除一个旧的用户配置文件。 *[[Recover user data missing after Firefox update]] 解释了在有多个用户配置文件时,如何使用配置管理器来切换配置。 *[[Back up and restore information in Firefox profiles]] 介绍了如何备份并恢复用户配置文件,此外还有如何移动您的用户配置文件到您硬盘的其它位置或另一台电脑。 *[[Restore bookmarks, passwords, and data from an old Firefox profile]] 如何将文件复制到新的用户配置文件中,包括一个存储了对恢复有用的信息的文件列表。

Slědk k historiji