自动化Google Chrome扩展程序安装 [英] Automate Google Chrome extension installation

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

问题描述

我正在创建Google Chrome扩展程序。我们将它包含在一个自动化的构建系统中,并且由于它一直在进行工作,我们需要一种解决方案来将扩展程序打包为.crx文件,该文件根据 http://code.google.com/chrome/extensions/packaging.html 可以轻松编写脚本。

I am working on creating a Google Chrome extension. We have it included in an automated build system and since it is constantly being worked on we need a solution to be able to package the extension as a .crx file which according to http://code.google.com/chrome/extensions/packaging.html can easily be scripted.

我的问题是,打包扩展后是否有一种已知的方法,通过命令行或其他编程方式,以自动方式安装新打包的扩展?

My question is after packaging the extension is there a known method either through the command-line or some other programmatic way, to install the newly packaged extension in an automated manner?

如果有人知道如何或有任何我可以指出的参考资料,我将不胜感激任何提供的帮助。谢谢。

If someone knows how or has any reference material that I can be pointed towards I would greatly appreciate any help that is offered. Thank you.

推荐答案

您可能可以使用外部扩展。您需要生成external_extensions.json文件或将您的扩展程序添加到注册表。

You may be able to use external extensions. You will need to generate the external_extensions.json file or add your extension to the registry.

http://code.google.com/chrome/extensions/dev/external_extensions.html

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

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