How do I manually install extensions on Chrome for OS X?

泪湿孤枕 提交于 2020-01-11 13:30:51

问题


i have create a chrome extension and i want to add it manually to chrome on mac osx (10.7 and 10.8)

i tried to do the following steps

  1. add the extension folder under the following url: /Users/talmutzafi/Library/Application Support/Google/Chrome/Profile 20/Extensions/

  2. add the extension data under the preferences list. the preferences list is located on /Users/talmutzafi/Library/Application Support/Google/Chrome/Profile 20/preferences

i tried to add :

- 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
     },

after changing it i opened chrome and expected to see my extension but the extension didn't appear.

i checked in window and in addition to adding the extension to the preferences we need to write the extension to the registry.

any ideas what else i need to do in order to install manually the chrome extension folder

thanks


回答1:


Can you try this path

For a specific user: ~USERNAME/Library/Application Support/Google/Chrome/External Extensions/

For all users: /Library/Application Support/Google/Chrome/External Extensions/

If you do not see external extensions installed when Chrome is launched, there may be a permissions problem with the external extensions preferences files.

References

a) Mac Troubleshooting .

b) Deployment Options

Let me know if you need more information.



来源:https://stackoverflow.com/questions/13976062/how-do-i-manually-install-extensions-on-chrome-for-os-x

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