Where is the details of extension of Safari 8 is stored in Yosemite(Mac OS 10.10)

余生颓废 提交于 2019-12-10 10:44:42

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!