问题
I want to install the safari extension in Safari v8 in Yosemite(Mac OS 10.10) by programmatically. As in safari v5,v6,v7 for extension details, safari maintain Extensions.plist which is stored at ~/Library/Safari/Extensions/Extensions.plist. But in safari v8 there is no information in Extensions.plist for installed extensions like extension is enabled or not.
So is there anyone who knows how safari v8 stores its Extensions information and where?
回答1:
Since safari 6.2, 7.1 and 8.0 it is stored as binary plist in ~/Library/Keychains/login.keychain
as a generic password with title "Safari Extensions List"
You can access it by the Keychain.app
or /usr/bin/security
or security framework
来源:https://stackoverflow.com/questions/24241198/where-is-the-details-of-extension-of-safari-8-is-stored-in-yosemitemac-os-10-10