我已经创建了一个 chrome 扩展,我想手动将它添加到 mac osx(10.7 和 10.8)上的 chrome
我尝试执行以下步骤
在以下 url 下添加扩展文件夹:/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 扩展文件夹
谢谢