After some research got to know that security find-generic-password -l "Safari Extensions List" -g command gives the extensions and their states. The output of the command is not in readable format. I tried saving the password as a plist and opening it, but then it is same. Can someone please guide me how to get the safari extension enable/disable state on different mac versions?
MacOS – When we toggle between enable and disable safari extensions, where will the state go and sit on different mac os
macmacossafarisafari-extensions
Related Question
- MacOS – Is it possible to disable Safari extensions when using Private browsing
- Extending the Safari Address Bar When Many Extensions Installed
- MacOS – OS X copy paste into Terminal adds fdbf bfb9 b083 to beginning and end of selection
- Safari on macOS – Prevent CSV Files from Transforming to Numbers Files
- Mac – Safely deleting files downloaded by Safari
Best Answer
Ok so i looked at this and it's a total hack.
Run command with the extension installed, you will see it's name within the field.
Delete the extension from ~/Library/Extensions/Extension_you_Want
Open Safari
Close Safari
Run command again
the item is missing from the password list