Skip to content

Instantly share code, notes, and snippets.

@letranloc
Created April 22, 2022 06:55
Show Gist options
  • Save letranloc/604957dcd7ff1c41d6dbe41254eb4ada to your computer and use it in GitHub Desktop.
Save letranloc/604957dcd7ff1c41d6dbe41254eb4ada to your computer and use it in GitHub Desktop.
Disappearing Safari extensions

If you're just looking for a solution to the issue, here it is: quit Safari, copy the following command to the clipboard, open the Terminal app (located in the Utilities subfolder of the Applications folder), and paste the command.

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -f -R /Applications/Safari.app

That's it, problem solved! The rest of this blog post will attempt a diagnosis of the problem.

Call the lsregister command above with no arguments to see usage information for the tool. I created an alias in my .bash_profile for convenience.

alias 'lsregister=/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister'

https://lapcatsoftware.com/articles/disappearing-safari.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment