Install Chrome extension through windows registry

前端 未结 1 1247
青春惊慌失措
青春惊慌失措 2021-02-10 16:33

I want to install a Chrome extension through the Windows Registry, as described in the documentation.

I have added the new registry key in

HKEY_LOCAL_MAC         


        
相关标签:
1条回答
  • 2021-02-10 16:55

    Chrome's documentation on deployment options is very misleading. My problem was I set the update_url registry property explicitly to the JSON string specified in the documentation.

    {
      "update_url": "https://clients2.google.com/service/update2/crx"
    }
    

    It should just be https://clients2.google.com/service/update2/crx, which makes a lot more sense.

    Upon restarting Chrome entirely (if Chrome is allowed to run in the background, exit Chrome using the tray icon) a popup shows up asking whether the newly installed extension should be enabled or not.

    This popup is only shown once. If it is ignored it does not show up next time. This behavior can be reset by adding and removing the application manually through the web store once, which seemingly resets some internal state stored by Chrome.

    0 讨论(0)
提交回复
热议问题