如何以编程方式安装Chrome扩展? [英] How to install a Chrome extension programmatically?

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

问题描述

我已经撰写了Google Chrome的扩展程序,该程序将随我们产品的下一个版本发布。我想了解哪些属性,提取路径,注册表条目等是否应该提供我产品的安装程序,以便最终用户不必手动安装扩展程序,并且安装程序完成安装扩展,并通知用户扩展已安装。截至目前,我写的代码被放置在一个文件夹中,并使用加载未打包的扩展来加载扩展。我应该怎么做才能完成上述任务?

I've written an extension for Google Chrome that will be released with the next version of our product. I want to understand what properties, paths for extraction, registry entries, etc. should I provide the installer of my product so that the end user doesn't have to install the extension on their own manually, and the installer does the complete job of installing the extension, and also notifies the user that the extension has been installed. As of now, the code that I have written is placed in a folder, and I use the "Load Unpackaged Extension" to load the extension. What should I do to achieve the aforementioned task?

推荐答案

Chrome有几种方式来安装扩展程序:
< href =http://www.chromium.org/administrators/pre-installed-extensions =nofollow> http://www.chromium.org/administrators/pre-installed-extensions

Chrome has a couple ways of installing extensions programmatically: http://www.chromium.org/administrators/pre-installed-extensions

编辑:是的,正如FuzzyAmi指出的那样,此政策已经改变。

yes, this policy has changed by now, as FuzzyAmi points out.

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

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