我已经创建了一个chrome扩展,我想手动将它添加到mac osx(10.7和10.8)上的chrome
我尝试执行以下步骤
在以下网址下添加扩展程序文件夹: / Users / talmutzafi / Library / Application Support / Google / Chrome / Profile 20 / Extensions /
在首选项列表下添加扩展数据。首选项列表位于 / Users / talmutzafi / Library / Application Support / Google / Chrome / Profile 20 / preferences
我试图添加:
- under backup i added the ext. id to the id's list
"backup": {
"_signature": "+1Vx9UrMvhjXj4EFWQAf2eMfrRs+ZrFK3ogVnwE/Njs=",
"_version": 4,
"extensions": {
"ids": [ "ahfgeienlihckogmohjhadlkjgocpleb", "akheoamkobfngpbmfmnjnekmciamdknh", "apdfllckaahabafndbhieahigkjlhalf", "blpcfgokakmgnkcojhhkbfbldkacnbeo", "coobgpohoikkiipiblmjeljniedjpjpf", "pjkljhegncpnkpknbcohdijeoejaedia" ]
}
- under settings i add the following data on the extension
"akheoamkobfngpbmfmnjnekmciamdknh": {
"ack_external": true,
"active_permissions": {
"api": [ "bookmarks", "contextMenus", "cookies", "geolocation", "history", "idle", "management", "notifications", "plugin", "tabs", "unlimitedStorage", "webNavigation", "webRequest", "webRequestInternal" ],
"explicit_host": [ "chrome://favicon/*", "http://*/*", "https://*/*" ],
"scriptable_host": [ "http://*/*", "https://*/*" ]
},
"app_launcher_ordinal": "t",
"events": [ "runtime.onInstalled" ],
"from_bookmark": false,
"from_webstore": false,
"install_time": "13000491448720728",
"location": 3,
"manifest": {
"background": {
"page": "js/chromeBackStage.html"
},
"chrome_url_overrides": {
"newtab": "Search/NewTabPages/html/new_tab.html"
},
"current_locale": "en_US",
"default_locale": "en_US",
"description": "mac installer",
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDIl5KlKwL2TSkntkpY3naLLz5jsN0YwjhZyObcTOK6Nda4Ie21KRqZau9lx5SHcLh7pE2/S9OiArb+na2dn7YK5EvH+aRXS1ec3uxVlBhqLdnleVgwgwlg5fH95I52IeHcoeK6pR4hW/Nv39GNlI/Uqk6O6GBCCsAxYrdxww9BiQIDAQAB",
"manifest_version": 2,
"name": "mac installer",
"offline_enabled": true,
"permissions": [ "storage", "tabs", "http://*/*", "https://*/*", "notifications", "management", "unlimitedStorage", "bookmarks", "contextMenus", "cookies", "geolocation", "history", "idle", "webNavigation", "chrome://favicon/*", "webRequest", "webRequestBlocking" ],
"version": "1.0"
},
"page_ordinal": "n",
"path": "akheoamkobfngpbmfmnjnekmciamdknh/1.0",
"state": 1,
"was_installed_by_default": true
},
更改后我打开了chrome并希望看到我的扩展名,但扩展名没有出现。
我在窗口中检查过,除了在首选项中添加扩展名外,还需要将扩展名写入注册表。
任何想法我还需要做什么才能手动安装chrome扩展文件夹
感谢
答案 0 :(得分:0)
你能尝试这条路吗?
针对特定用户: ~USERNAME/Library/Application Support/Google/Chrome/External Extensions/
适用于所有用户:/Library/Application Support/Google/Chrome/External Extensions/
如果您在启动Chrome时未看到外置扩展程序,则外部扩展程序首选项文件可能存在权限问题。
如果您需要更多信息,请与我们联系。
答案 1 :(得分:0)
当前,无法通过不在Windows和Mac计算机上的chrome存储中托管的crx安装扩展程序。从文档中,https://developer.chrome.com/docs/extensions/mv2/external_extensions/-
警告Windows和Mac安装必须来自Chrome Web Store:从Chrome 33开始,不允许从Windows路径到本地.crx的路径进行外部安装(请参阅保护Windows用户免受恶意扩展)。从Chrome 44开始,不允许从Mac上的本地.crx路径进行外部安装(请参阅继续保护Chrome用户免受恶意扩展的攻击)。