如何在Chrome OS OS上手动安装扩展程序? [英] How do I manually install extensions on Chrome for OS X?

查看:187
本文介绍了如何在Chrome OS OS上手动安装扩展程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个扩展名,我想在mac osx(10.7和10.8)上手动添加到chrome中。

我试图执行以下步骤

p>


  1. 在以下url中添加扩展文件夹:
    / Users / talmutzafi / Library / Application Support / Google / Chrome / Profile 20 / Extensions /


  2. 在首选项列表中添加扩展数据。首选项列表位于
    / Users / talmutzafi / Library / Application Support / Google / Chrome / Profile 20 / preferences中。


    我试图添加:

       - 在备份下我添加了分机。 id到id列表

    backup:{
    _signature:+ 1Vx9UrMvhjXj4EFWQAf2eMfrRs + ZrFK3ogVnwE / Njs =,
    _version:4,
    扩展:{
    IDS:[ ahfgeienlihckogmohjhadlkjgocpleb, akheoamkobfngpbmfmnjnekmciamdknh, apdfllckaahabafndbhieahigkjlhalf, blpcfgokakmgnkcojhhkbfbldkacnbeo, coobgpohoikkiipiblmjeljniedjpjpf, pjkljhegncpnkpknbcohdijeoejaedia]
    }

    - 在设置下,我在扩展名

    akheoamkobfngpbmfmnjnekmciamdknh上添加以下数据:{
    ack_external:true,
    active_permissions:{
    api :[书签,contextMenus,cookies,地理定位,历史,闲置,管理,通知,插件,标签,unlimitedStorage ,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,
    的描述: Mac安装,
    的键:MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDIl5KlKwL2TSkntkpY3naLLz5jsN0YwjhZyObcTOK6Nda4Ie21KRqZau9lx5SHcLh7pE2 / S9OiArb + na2dn7YK5EvH + aRXS1ec3uxVlBhqLdnleVgwgwlg5fH95I52IeHcoeK6pR4hW / Nv39GNlI / Uqk6O6GBCCsAxYrdxww9BiQIDAQAB ,
    manifest_version:2,
    name:mac安装程序,
    offline_enabled:tru e,
    permissions:[storage,tabs,http:// * / *,https:// * / *,notifications,management,unlimitedStorage ,书签,contextMenus,cookies,地理定位,历史,闲置,webNavigation,chrome:// favicon / *,webRequest,webRequestBlocking $ bversion:1.0
    },
    page_ordinal:n,
    path:akheoamkobfngpbmfmnjnekmciamdknh / 1.0,
    state:1 ,
    was_installed_by_default:true
    },

    chrome,预计会看到我的扩展名,但扩展名并未出现。



    我在窗口中检查过,除了将扩展名添加到我们需要编写扩展名到注册表。



    任何想法我需要做什么才能手动安装铬扩展文件夹



    谢谢

    解决方案

    你可以试试这个pat对于特定用户: 〜USERNAME / Library / Application Support / Google / Chrome / External Extensions /

    / code>



    所有用户: /资料库/应用程序支持/ Google / Chrome / External Extensions如果在启动Chrome时看不到外部扩展程序,则外部扩展程序首选项可能会存在权限问题 b
    $ b

    参考文献



    a) Mac Troubleshooting

    /developer.chrome.com/extensions/external_extensions.htmlrel =nofollow>部署选项



    让我知道您是否需要更多信息。


    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

    解决方案

    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.

    这篇关于如何在Chrome OS OS上手动安装扩展程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆