Uninstall Chrome/Edge
I usually remove unwanted applications with App Cleaner, but sometimes, it doesn't find all the Library stuff.
Google Chrome:
To completely remove all traces of Google Chrome from your Mac, here is the list of files you need to delete (source).
Paste the following commands into the Terminal, either one by one, or all at once. Note that rm -r can be very destructive!
rm -r /Applications/Google\ Chrome.app/ rm -r ~/Library/Application\ Support/Google/Chrome/ rm ~/Library/Application\ Support/CrashReporter/Google\ Chrome* rm ~/Library/Preferences/com.google.Chrome* rm ~/Library/Preferences/Google\ Chrome* rm -r ~/Library/Caches/com.google.Chrome* rm -r ~/Library/Saved\ Application\ State/com.google.Chrome.savedState/ rm ~/Library/Google/GoogleSoftwareUpdate/Actives/com.google.Chrome rm ~/Library/Google/Google\ Chrome* rm -r ~/Library/Speech/Speakable\ Items/Application\ Speakable\ Items/Google\ Chrome/ rm ~/Library/Google/Google\ Chrome\ Brand.plist rm -rf ~/Applications/Chrome\ Apps
the commands above to the clipboard, open Terminal, and type pbpaste | bash
This should be enough to remove all traces of Google Chrome from your Mac!
You might want to just go ahead and rm -r ~/Library/Google
Microsoft Edge:
To remove all traces of Microsoft Edge, trash the app, then delete the four folders and the PLIST file at the following locations.
Do this either from the finder, or by pasting the following commands into the Terminal. Note that rm -r can be very destructive!
rm -r /Applications/Google\ Chrome.app/ rm -r ~/Library/Application Support/Microsoft Edge rm -r ~/Library/Caches/Microsoft Edge rm -r ~/Library/Saved Application State/com.microsoft.edgemac.savedState rm -r ~/Library/WebKit/com.microsoft.edgemac rm ~/Library/Preferences/com.microsoft.edgemac.plist
the commands above to the clipboard, open Terminal, and type pbpaste | bash
Piping commands to 'bash' can be controversial, so use pbpaste | cat
to display the clipboard (pasteboard) contents first if you want make sure exactly what will paste in! (sudo -v
will enable root permissions for 5 mins, but this shouldn't be necessary).