Apple为改进和优化(Apple)Mac上的Safari付出了很多努力,结果证明了这一点。与Chrome(Chrome)和Firefox相比,该浏览器可以非常快速地加载网站并且使用更少的电池,并且可以像魅力一样与 iPhone 和 iPad 同步数据。尽管如此,Safari也不是没有问题。
不久前,我们讨论了修复 Safari 中页面加载缓慢的问题(fixing slow page loading problems in Safari)。这一次,我们将引导您完成当Safari(Safari)无法在您的Mac上运行时,您必须采取哪些措施来修复它;无论是冻结、崩溃还是完全无法打开。
(精选 - Safari(Featured – Safari)无法在 Mac上运行_XX(Mac_ XX Ways)修复(Fix)方法)
1. 强制退出 Safari
如果Safari只是冻结了您并且在您的(Safari)Mac上根本无法运行,请尝试强制退出它。为此,请从屏幕左上角打开Apple 菜单,然后选择(Apple menu )Force Quit。或者,按Command + Option + Escape。在出现的Force Quit Applications框中,选择Safari并选择Force Quit。
然后,等待几秒钟并重新启动浏览器。如果它在打开时继续冻结或挂起,请继续进行下一个修复。
2.重启Mac
重新启动 Mac 可以解决本机和第三方程序中出现的大多数问题。如果您有一段时间没有重新启动,请试一试。
3.更新Safari
运行安装了最新更新的Safari是防止已知软件相关错误导致问题的最佳方法。Mac 的股票浏览器已集成到 macOS 中,因此如果要更新Safari ,则必须更新操作系统本身。
为此,请打开Apple 菜单(Apple menu),选择System Preferences,然后选择Software Update。如果您看到列出的更新,请选择立即更新(Update Now)。
4.清除浏览器缓存
过时的浏览器缓存是导致Safari(Safari)无法在Mac上正常工作的另一个原因。尝试清除它。
1. 打开 Safari。然后,选择菜单栏上的Safari并选择(Safari)首选项(Preferences )选项。
2. 切换到高级选项卡并选中(Advanced)在菜单栏中显示开发菜单(Show Develop menu in menu bar)旁边的框。
3. 这应该会在菜单栏上显示一个标记为“开发”的新项目。(Develop)打开它,然后选择Empty Caches。
那应该删除Safari缓存。重新启动浏览器并检查它是否正常工作。
注意:(Note:)如果需要,您可以返回Safari 首选项(Safari Preferences)窗格并禁用“开发(Develop)”菜单。
5.禁用扩展
扩展有助于改善您在Safari中的浏览体验。但未优化或过时的扩展也可能最终导致冻结和随机崩溃。
要确认,首先禁用所有扩展。选择菜单栏上的 Safari,选择Safari扩展(Safari Extensions)并取消选中每个活动扩展旁边的框。
提示:(Tip:)如果您之前没有隐藏“开发(Develop)”菜单,您可以打开它并选择“禁用扩展(Disable Extensions)”以立即停用所有扩展。
退出(Quit)并重新启动Safari。如果浏览器开始正常工作,请一次重新启用一个扩展。这应该允许您识别导致问题的扩展。然后,您可以选择从Safari中删除扩展。或者,您可以在Mac App Store(Mac App Store)上寻找可以帮助修复它的扩展更新。
6. 删除 Safari 偏好设置
删除存储Safari偏好设置的文件可以解决因浏览器设置配置不当而导致的问题。但是,在开始之前,请退出或强制退出Safari。
1. 打开查找器(Finder)。然后,按Command + Shift + G打开转到文件夹(Go to the folder)框。
2. 复制并粘贴以下路径并选择Go:
~/Library/Containers/com.apple.Safari/Data/Library/Preferences
3. 右键单击标有com.apple.Safari.plist的文件并选择Move to Trash。Safari稍后会自动重新创建文件,所以不用担心。
重新启动您的Mac。然后,打开Safari并检查它是否正常工作。如果您想重新配置浏览器设置(主页、新标签、默认搜索引擎等),请进入Safari 首选项(Preferences )窗格。
7.进入安全模式
如果您在打开Safari(Safari)时遇到问题,无论是清除缓存还是禁用任何活动扩展,请尝试启动到安全模式(Safe Mode)。
首先关闭您的Mac。然后,等待至少 10 秒钟,然后在按住任一Shift键的同时将其打开。
启动到安全模式(Safe Mode)后,打开Safari。它应该毫无问题地启动。再次完成修复 4-6 并正常重新启动Mac。
在某些情况下,仅仅进入和退出安全模式(Mode)就可以最终修复Safari以及任何其他无法正常工作的程序。
8.清除Mac缓存
您之前尝试过删除Safari浏览器缓存。现在,是时候清除 Mac 的应用程序和系统缓存了(clear the Mac’s application and system cache)。这可以解决Safari中由相关应用程序和操作系统中的过时或损坏数据引起的问题。
9.检查启动盘
如果上述修复都没有帮助,那么值得检查并修复Mac上启动磁盘中的错误。macOS 有Disk Utility工具可以帮助解决这个问题。但首先,您必须在恢复模式下重新启动您的(Recovery Mode)Mac。
1. 关闭你的Mac。然后,在按住Command和R键的同时将其打开。看到Apple标志后释放它们。您将很快进入恢复模式。(Recovery Mode)
2. 选择磁盘工具(Disk Utility)选项并选择继续(Continue)。
3.从“磁盘工具(Disk Utility)”窗口左侧选择Macintosh HD 。然后,选择标有First Aid的图标。
4. 选择运行(Run)以扫描与磁盘相关的错误。磁盘工具(Disk Utility)将尝试修复它遇到的任何问题。
5. 选择完成(Done)。
6.从“磁盘工具(Disk Utility)”窗格左侧选择Macintosh HD – 数据(Macintosh HD – Data),然后重复步骤3 – 5。
7.从屏幕左上角打开Apple 菜单,然后选择(Apple menu)重新启动(Restart)。
正常重启Mac后,打开Safari并检查修复启动盘是否有帮助。
重新开始浏览
希望您最终将Safari修复到了一半左右。如果您必须完成所有修复但没有任何效果,您可能需要重新安装 macOS(reinstall macOS)。可能存在阻止Safari(Safari)正常工作的深层问题,只有全新安装操作系统才能修复。或者,您可以尝试切换到其他浏览器,例如Chrome或Firefox,至少暂时如此。
Safari Not Working on Mac? 9 Ways to Fix
Applе puts in а lot of effort to improve and optimize Safari on the Mac, and it shows. The browser loads websites very quiсkly and uses less battery compared to Chrome and Firefox and syncs data with the iPhone and iPad like a charm. Despite that, however, Safari is not without issues.
A while back, we talked about fixing slow page loading problems in Safari. This time, we will walk you through what you must do to fix it when Safari is not working on your Mac; whether it freezes, crashes, or fails to open altogether.
(Featured – Safari Not Working on Mac_ XX Ways to Fix)
1. Force Quit Safari
If Safari just froze on you and is not working at all on your Mac, try force-quitting it. To do that, open the Apple menu from the top-left of the screen and select Force Quit. Alternatively, press Command + Option + Escape. On the Force Quit Applications box that shows up, pick Safari and select Force Quit.
Then, wait for a few seconds and relaunch the browser. If it continues to freeze or hang while opening, move on to the next fix.
2. Restart Mac
Restarting your Mac can take care of most issues that crop up in both native and third-party programs. Give it a go if you haven’t performed a reboot in a while.
3. Update Safari
Running Safari with the latest updates installed is the best way to prevent known software-related bugs from causing problems. The Mac’s stock browser is integrated into macOS, so you must update the operating system itself if you want to update Safari.
To do that, open the Apple menu, select System Preferences, and select Software Update. If you see an update listed, select Update Now.
4. Clear Browser Cache
An outdated browser cache is another reason that can cause Safari to not work properly on your Mac. Try clearing it.
1. Open Safari. Then, select Safari on the menu bar and choose the Preferences option.
2. Switch to the Advanced tab and check the box next to Show Develop menu in menu bar.
3. That should reveal a new item labeled Develop on the menu bar. Open it and then select Empty Caches.
That should delete the Safari cache. Relaunch the browser and check if it works properly.
Note: You can head back into the Safari Preferences pane and disable the Develop menu if you want.
5. Disable Extensions
Extensions help improve your browsing experience in Safari. But unoptimized or outdated extensions can also end up causing freezes and random crashes.
To confirm, start by disabling all extensions. Select Safari on the menu bar, choose Safari Extensions and uncheck the boxes next to each active extension.
Tip: If you did not hide the Develop menu before, you can open it and select Disable Extensions to deactivate all extensions instantly.
Quit and relaunch Safari. If the browser starts to work properly, re-enable the extensions one at a time. That should allow you to identify the extension causing issues. You can then choose to remove the extension from Safari. Or you can look for an update to the extension on the Mac App Store that could help fix it.
6. Delete Safari Preferences
Deleting the file that stores your Safari preferences can fix issues caused by improperly configured browser settings. Before you start, however, either quit or force-quit Safari.
1. Open Finder. Then, press Command+Shift+G to open the Go to the folder box.
2. Copy and paste the following path and select Go:
~/Library/Containers/com.apple.Safari/Data/Library/Preferences
3. Right-click the file labeled com.apple.Safari.plist and select Move to Trash. Safari will automatically re-create the file later, so don’t worry.
Restart your Mac. Then, open Safari and check if it works normally. If you want to re-configure your browser settings (homepage, new tabs, default search engine, etc.), head into the Safari Preferences pane.
7. Enter Safe Mode
If you had trouble opening Safari, either to clear the cache or to disable any active extensions, try booting into Safe Mode.
Start by turning off your Mac. Then, wait for at least 10 seconds and turn it on while holding down either of the Shift keys.
After booting into Safe Mode, open Safari. It should launch without issues. Work your way through fixes 4-6 again and restart your Mac normally.
In some instances, simply entering and exiting Safe Mode alone can end up fixing Safari as well as any other programs that fail to work properly.
8. Clear Mac Cache
You tried deleting the Safari browser cache earlier. Now, it’s time to clear the Mac’s application and system cache. That could resolve issues in Safari caused by outdated or corrupt data in related apps and the operating system.
9. Check Startup Disk
If none of the fixes above helped, then it’s worth checking for and fixing errors in the startup disk on your Mac. macOS has the Disk Utility tool that can help with that. But first, you must restart your Mac in Recovery Mode.
1. Turn off your Mac. Then, turn it on while holding down both the Command and the R keys. Release them once you see the Apple logo. You will enter Recovery Mode soon after.
2. Pick the Disk Utility option and select Continue.
3. Select Macintosh HD from the left of the Disk Utility window. Then, select the icon labeled First Aid.
4. Select Run to scan for disk-related errors. Disk Utility will attempt to fix any that it comes across.
5. Select Done.
6. Select Macintosh HD – Data from the left of the Disk Utility pane and repeat steps 3–5.
7. Open the Apple menu from the top-left of the screen and select Restart.
After rebooting your Mac normally, open Safari and check if repairing the startup disk helped.
Start Browsing Again
Hopefully, you ended up fixing Safari at around the halfway mark. If you had to go through all the fixes and nothing worked, you may want to reinstall macOS. There could be a deep underlying issue preventing Safari from working properly that only a fresh installation of the operating system can fix. Or you could try switching to an alternative browser such as Chrome or Firefox, at least for the time being.