Prindol

DESIGN, HTML5, CSS3, DOM, Jquery, JSON, Actionscript2/3, Linux, IIS

You are not logged in.

#1 2021-11-10 15:37:13

skydown
Administrator
Registered: 2011-07-25
Posts: 319

Reset Safari to default settings

Reset Safari to default settings

1. Open a Terminal window: Applications > Utilities > Terminal

2. Backup your bookmarks (optional). Copy-paste the following code into Terminal:

cp ~/Library/Safari/Bookmarks.plist ~/Desktop/Bookmarks.plist;

3. Force Safari to quit:

killall Safari;

4. Clear cache, cookies and Safari folders (copy-paste each line separately):

rm -Rf ~/Library/Cookies/*;
rm -Rf ~/Library/Cache/*;
rm -Rf ~/Library/Safari/*;

5. Remove some stubborn files and settings (copy-paste each line separately):

rm -Rf ~/Library/Caches/Apple\ -\ Safari\ -\ Safari\ Extensions\ Gallery;
rm -Rf ~/Library/Caches/Metadata/Safari;
rm -Rf ~/Library/Caches/com.apple.Safari;
rm -Rf ~/Library/Caches/com.apple.WebKit.PluginProcess;
rm -Rf ~/Library/Cookies/Cookies.binarycookies;
rm -Rf ~/Library/Preferences/Apple\ -\ Safari\ -\ Safari\ Extensions\ Gallery;
rm -Rf ~/Library/Preferences/com.apple.Safari.LSSharedFileList.plist;
rm -Rf ~/Library/Preferences/com.apple.Safari.RSS.plist;
rm -Rf ~/Library/Preferences/com.apple.Safari.plist;
rm -Rf ~/Library/Preferences/com.apple.WebFoundation.plist;
rm -Rf ~/Library/Preferences/com.apple.WebKit.PluginHost.plist;
rm -Rf ~/Library/Preferences/com.apple.WebKit.PluginProcess.plist;
rm -Rf ~/Library/PubSub/Database;
rm -Rf ~/Library/Saved\ Application\ State/com.apple.Safari.savedState;

6. Restore your bookmarks (optional). Copy-paste each line separately:

rm -Rf ~/Library/Safari/Bookmarks.plist;
cp ~/Desktop/Bookmarks.plist ~/Library/Safari/Bookmarks.plist;

Reset Apple Safari to default settings

Offline

Board footer

Powered by FluxBB