Mozilla Firefox已经存在了近二十年,具有许多稳定性和性能增强功能。但是,在启动后、日常使用期间或执行特定活动时遇到浏览器冻结的情况仍然很常见。
如果您遇到Firefox在您的 PC 或(Firefox)Mac上没有响应的问题,请通过以下修复来排除故障并解决问题。
重启火狐
如果Firefox刚刚在您的 PC 或Mac上冻结,请尝试强制退出并重新启动它。要关闭 PC 上的浏览器,请右键单击“开始(Start)”按钮并选择“任务管理器( Task Manager)” 。然后,从打开的应用程序列表中选择Firefox并选择End task。之后重新启动浏览器。
如果您使用 Mac,请打开Launchpad并选择其他(Other )>活动监视器。(Activity Monitor )然后,选择Firefox > Stop > Force-Quit并尝试再次启动Firefox。
重启你的电脑
如果Firefox(Firefox)继续死机,最好重新启动计算机。在Windows中,只需打开“开始”菜单(Start menu )并选择“电源”(Power ) > “重新启动(Restart)” 。
在 Mac 上,打开Apple 菜单(Apple menu )并选择重新启动,但在(Restart)重新登录时(Reopen windows when logging back in)清除重新打开窗口旁边的框,然后在确认对话框中再次选择重新启动。(Restart)
重新创建地点数据库
Firefox将您的浏览历史记录和书签存储在一个名为“地点”的数据库中。有时,它可能会损坏并导致 Web 浏览器无响应。要排除这种情况,您必须强制Firefox重新创建数据库。
选择Firefox 菜单(Firefox menu)图标(窗口右上角带有三个堆叠线的按钮),然后选择帮助(Help )>更多故障排除信息(More troubleshooting information)。然后,在Application Basics部分下,选择Profile Folder旁边的Open Folder按钮。
在随后出现的文件资源管理器(File Explorer)或Finder窗口中,打开您的Firefox配置文件文件夹并通过在文件名末尾添加.old来重命名以下文件:(.old )
地方.sqlite(places.sqlite)
places.sqlite 期刊(places.sqlite-journal)
如果Firefox完全没有响应,您可以通过File Explorer或Finder直接访问配置文件文件夹。
Windows:打开文件资源管理器( File Explorer),将以下路径复制并粘贴到窗口顶部的地址栏中,然后按Enter:
%userprofile%\AppData\Roaming\Mozilla\Firefox\Profiles\
Mac:打开Finder并选择前往(Go)>前往文件夹(Go to Folder)。然后,复制并粘贴以下路径并按Enter:
~/Library/Application Support/Firefox/Profiles
更新以修复 Firefox
Mozilla 经常发布更新以解决Firefox中的已知问题。要检查浏览器是否是最新的,请打开Firefox 菜单(Firefox menu )并选择设置(Settings)。然后,在General标签下,向下滚动到Firefox Updates部分并选择Check for updates。
禁用硬件加速
默认情况下,Firefox利用计算机上的图形处理单元 ( GPU ) 来改进网页功能和性能。但是,根据您的 PC 或Mac配置,这可能会产生相反的效果。禁用硬件加速(hardware acceleration)并检查是否有影响。
再次,在Firefox(Firefox )中打开“设置”(Settings )窗格并向下滚动到“性能”(Performance )部分。然后,取消选中使用推荐的性能设置(Use recommended performance settings)和在可用时使用硬件加速( Use hardware acceleration when available)旁边的复选框。
如果这有帮助,请考虑在重新激活硬件加速之前更新图形驱动程序(updating the graphics drivers)或操作系统(下一个更多内容)。
更新操作系统
运行最新版本的操作系统可能会对Firefox在您的计算机上的运行方式产生积极影响。要更新Microsoft Windows 10/11,请打开“设置”(Settings )应用并选择“ Windows 更新”( Windows Update)。然后,选择检查更新(Check for updates)>下载并安装( Download and install)。
在 Mac 上,打开系统偏好设置(System Preferences)应用程序并选择软件更新(Software Update)>立即更新(Update Now)。或者,打开Apple 菜单(Apple menu)并选择关于本机( About This Mac)>软件更新(Software Update)>立即更新( Update Now)。
清除 Firefox 缓存
过时(obsolete local web cache)的本地 Web 缓存是Firefox 性能下降的(performance degradation in Firefox)另一个原因。删除它以强制浏览器获取最新的站点数据。
为此,请转到 Firefox 的设置(Settings )窗格并切换到隐私和安全(Privacy & Security)选项卡。然后,向下滚动到Cookies and Site Data部分,选择Clear Data ,标记( Clear Data)Cookies and Site Data和Cached Web Content旁边的框,然后选择Clear。
清除 Firefox 的启动缓存
如果Firefox浏览器在启动时倾向于冻结,则必须清除其启动缓存。首先(Start)打开Firefox 菜单(Firefox menu)。接下来,转到帮助(Help)>更多(More )故障排除信息(roubleshooting information),然后选择清除启动缓存(Clear startup cache)。
如果您无法访问上面的屏幕,您必须刷新Firefox(更多内容见下文)。
清除 Firefox 的下载历史
Firefox 是否(Does Firefox)仅在离线保存文件时冻结?广泛的下载历史可能会导致这种情况。要清除它,请打开Firefox 菜单(Firefox menu)并选择下载(Downloads)>清除下载(Clear Downloads)。
更改 Firefox 下载文件夹
如果Firefox在您开始下载时停止响应,请尝试更改浏览器默认保存文件的文件夹。
打开“设置”(Settings )窗格,向下滚动到“下载(Downloads )”子部分,然后使用“浏览(Browse)”按钮切换到其他位置。避免(Avoid)使用可移动媒体以获得最佳效果。
在故障排除模式下打开 Firefox
Firefox 的故障排除模式(Troubleshoot Mode)(以前称为安全模式(Safe Mode))加载浏览器时禁用所有自定义和附加组件。这可以帮助您确定第三方主题或扩展是否是问题的根源。
首先,关闭Firefox。接下来(Next),按住Shift (PC) 或Option ( Mac ) 键并重新启动浏览器。在显示的弹出窗口中,选择打开(Open )以在疑难解答模式下(Troubleshoot Mode)打开Firefox。
如果Firefox在疑难解答模式下(Troubleshoot Mode)运行正常,请打开Firefox 菜单(Firefox menu)并选择附加组件和主题( Add-ons and Themes)。然后,深入研究Extensions、Themes和Plugins类别并执行以下操作:
- 激活(Activate)每个项目,直到您隔离有问题的附加组件或主题。
- 删除附加组件或主题。
- 更新(Update)所有剩余的扩展和自定义(选择每个类别下的齿轮形图标,然后选择检查更新(Check for updates))。
刷新火狐
如果上述修复均无济于事,请尝试刷新Firefox。这将删除所有自定义和扩展并将浏览器重置为出厂默认设置。为此,请打开Firefox 菜单(Firefox menu )并选择帮助(Help )>更多故障排除信息(More troubleshooting information)。然后,选择Refresh Firefox。
或者,在按住Shift (PC) 或Option (Mac) 键的同时打开Firefox ,然后选择(Firefox)Refresh Firefox。
设置新的 Firefox 配置文件
要排除Firefox配置文件损坏的问题,请打开Firefox 配置文件管理器(Firefox Profile Manager),选择创建配置文件(Create Profile),然后设置新的用户配置文件。如果Firefox在此之后不再冻结或崩溃,您可能需要从旧配置文件迁移配置文件数据(migrate the profile data from your old profile)。
要访问Firefox 配置文件管理器,请在您的 PC 或(Firefox Profile Manager)Mac上执行以下操作。如果Firefox已经在运行,请在开始之前将其关闭。
Windows:右键单击Start按钮,选择Run,然后执行以下命令:
firefox.exe -P
Mac:打开Launchpad并选择其他(Other)>终端(Terminal)。然后,运行以下命令:
/Applications/Firefox.app/Contents/MacOS/firefox-bin -P
重新安装火狐
您可能正在处理损坏的Firefox安装,只有完全重新安装才能修复。要在 PC 上删除Firefox,请右键单击开始(Start )按钮,选择应用程序和功能(Apps and Features),然后选择Firefox >卸载(Uninstall)。如果您使用 Mac,只需将Firefox从Applications文件夹拖到废纸篓。(Trash)
卸载Firefox后,重新启动计算机。然后,从Mozilla.com(Mozilla.com)下载并安装最新版本的浏览器。
不要打折恶意软件
如果尽管执行了上述修复, Firefox偶尔或一直死机,您可能正在处理恶意软件感染。使用这些适用于 PC和Mac的顶级防病毒实用程序对(top antivirus utilities for the PC)计算机病毒进行全面扫描。
How to Fix Firefox Not Responding on PC and Mac
Mozіlla Firefox haѕ been around for almost two decades, with numеrous stability and performance enhancements. However, it’s still not uncommon to encounter instances with the browser frеezing right after launсh, during routine use, or while рerforming ѕрecific activitiеs.
If you’re having trouble with Firefox not responding on your PC or Mac, go through the fixes below to troubleshoot and resolve the issue.
Restart Firefox
If Firefox just froze on your PC or Mac, try force-quitting and relaunching it. To shut down the browser on PC, right-click the Start button and choose Task Manager. Then, choose Firefox from the list of open apps and select End task. Relaunch the browser after that.
Open the Launchpad and select Other > Activity Monitor if you use a Mac. Then, select Firefox > Stop > Force-Quit and attempt to start Firefox again.
Restart Your Computer
It’s best to restart your computer if Firefox continues to freeze. In Windows, just open the Start menu and select Power > Restart.
On the Mac, open the Apple menu and select Restart, but clear the box next to Reopen windows when logging back in before selecting Restart again on the confirmation dialog.
Recreate the Places Database
Firefox stores your browsing history and bookmarks in a database called “Places.” Sometimes, it can corrupt and result in the web browser not responding. To rule that out, you must force Firefox to recreate the database.
Select the Firefox menu icon (the button with three stacked lines at the top right corner of the window) and choose Help > More troubleshooting information. Then, under the Application Basics section, select the Open Folder button next to Profile Folder.
On the File Explorer or Finder window that subsequently shows up, open your Firefox profile folder and rename the files below by adding .old to the end of the file name:
places.sqlite
places.sqlite-journal
If Firefox is completely unresponsive, you can directly get to the profile folder via File Explorer or Finder.
Windows: Open File Explorer, copy and paste the following path into the address bar at the top of the window, and press Enter:
%userprofile%\AppData\Roaming\Mozilla\Firefox\Profiles\
Mac: Open Finder and select Go > Go to Folder. Then, copy and paste the following path and press Enter:
~/Library/Application Support/Firefox/Profiles
Update to Fix Firefox
Mozilla releases frequent updates to address known issues in Firefox. To check if the browser is up-to-date, open the Firefox menu and select Settings. Then, under the General tab, scroll down to the Firefox Updates section and choose Check for updates.
Disable Hardware Acceleration
By default, Firefox takes advantage of the graphics processing unit (GPU) on your computer to improve web page functionality and performance. However, depending on your PC or Mac configuration, that could have the opposite effect. Disable hardware acceleration and check if that makes a difference.
Again, open the Settings pane in Firefox and scroll down to the Performance section. Then, uncheck the boxes next to Use recommended performance settings and Use hardware acceleration when available.
If that helps, consider updating the graphics drivers or the operating system (more on that next) before reactivating hardware acceleration again.
Update the Operating System
Running an up-to-date version of the operating system could positively impact how Firefox runs on your computer. To update Microsoft Windows 10/11, open the Settings app and select Windows Update. Then, choose Check for updates > Download and install.
On the Mac, open the System Preferences app and select Software Update > Update Now. Or, open the Apple menu and choose About This Mac > Software Update > Update Now.
Clear the Firefox Cache
An obsolete local web cache is another reason for performance degradation in Firefox. Delete it to force the browser to fetch up-to-date site data.
To do that, go to Firefox’s Settings pane and switch to the Privacy & Security tab. Then, scroll down to the Cookies and Site Data section, select Clear Data, mark the boxes next to Cookies and Site Data and Cached Web Content, and select Clear.
Clear Firefox’s Startup Cache
If the Firefox browser tends to freeze at launch, you must clear its startup cache. Start by opening the Firefox menu. Next, go to Help > More troubleshooting information and select Clear startup cache.
If you have trouble visiting the screen above, you must refresh Firefox (more on that further below).
Clear Firefox’s Download History
Does Firefox only freeze while saving files offline? An extensive download history can cause that. To clear it, open the Firefox menu and select Downloads > Clear Downloads.
Change the Firefox Downloads Folder
If Firefox stops responding whenever you initiate a download, try changing the folder where the browser saves files by default.
Open the Settings pane, scroll down to the Downloads sub-section, and use the Browse button to switch to a different location. Avoid removable media for best results.
Open Firefox in Troubleshoot Mode
Firefox’s Troubleshoot Mode (formerly called Safe Mode) loads the browser with all customizations and add-ons disabled. That helps you determine if a third-party theme or extension is the source of the issue.
First, close Firefox. Next, hold down the Shift (PC) or Option (Mac) key and relaunch the browser. On the pop-up window that shows, select Open to open Firefox in Troubleshoot Mode.
If Firefox works OK in Troubleshoot Mode, open the Firefox menu and select Add-ons and Themes. Then, dig into the Extensions, Themes, and Plugins categories and perform the following:
- Activate each item until you isolate the problematic add-on or theme.
- Remove the add-on or theme.
- Update all remaining extensions and customizations (select the gear-shaped icon under each category and select Check for updates).
Refresh Firefox
If none of the fixes above help, try refreshing Firefox. That removes all customizations and extensions and resets the browser to factory defaults. To do that, open the Firefox menu and select Help > More troubleshooting information. Then, choose Refresh Firefox.
Alternatively, open Firefox while holding down the Shift (PC) or Option (Mac)keys and select Refresh Firefox.
Set Up a New Firefox Profile
To rule out issues with a corrupt Firefox profile, open the Firefox Profile Manager, select Create Profile, and set up a new user profile. If Firefox no longer freezes or crashes after that, you may want to migrate the profile data from your old profile.
To access the Firefox Profile Manager, perform the following on your PC or Mac. If Firefox is already running, close it before you begin.
Windows: Right-click the Start button, select Run, and execute the following:
firefox.exe -P
Mac: Open the Launchpad and select Other > Terminal. Then, run the following command:
/Applications/Firefox.app/Contents/MacOS/firefox-bin -P
Reinstall Firefox
It’s likely you’re dealing with a corrupt Firefox installation that only a complete reinstallation can fix. To remove Firefox on the PC, right-click the Start button, choose Apps and Features and select Firefox > Uninstall. Just drag Firefox from the Applications folder into the Trash if you use a Mac.
After uninstalling Firefox, restart your computer. Then, download and install the latest version of the browser from Mozilla.com.
Don’t Discount Malware
If Firefox freezes occasionally or all the time despite performing the above fixes, you may be dealing with a malware infestation. Use these top antivirus utilities for the PC and Mac to perform a comprehensive scan for computer viruses.