문제

I need to install a chrome extension on a headless Server. One way is using group policy. I am looking for some other way of doing this.

For Firefox I would just place my XPI ( extension ) in the profile directory/extensions folder and Firefox would pick the extension . I wonder if for chrome I can do something similar.

Thanks.

도움이 되었습니까?

해결책

This is exactly what I was looking for. Found the answer here.

http://developer.chrome.com/extensions/external_extensions.html

다른 팁

  • If you are installing from a file, make the .crx extension file available to the machine you want to install the extension on.
  • Create a file with the following name in one of the folders listed below: aaaaaaaaaabbbbbbbbbbcccccccccc.json where the file name (without the extension) corresponds to your extension's ID. The location depends on the operating system.

Linux:

/opt/google/chrome/extensions/ /usr/share/google-chrome/extensions/

Note: Use chmod if necessary to make sure that the aaaaaaaaaabbbbbbbbbbcccccccccc.json files are world-readable.

  • Save the JSON file.
  • Launch Google Chrome and go to chrome://extensions; you should see the extension listed.

Reference

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top