以编程方式加载解压缩的Chrome扩展程序 [英] Load unpacked Chrome extension programmatically

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

问题描述

是否可以从命令行加载和卸载解压缩的Chrome扩展程序?

Is it possible to load and unload unpacked Chrome extensions from the Command Line?

推荐答案

是的,尽管只是暂时*:

Yes, although only temporarily *:

chromium --load-extension=path/to/extension

如果要加载多个扩展名,只需用逗号分隔路径:

If you want to load multiple extensions, just separate the path by a comma:

chromium --load-extension=path/to/extension,path/to/another/extension

(或用于启动Chrome / Chromium浏览器的任何工具)替换 chromium

*当您关闭浏览器,并在没有命令行参数的情况下再次启动它时,该扩展将从安装的扩展列表中消失。

* When you close the browser, and starts it again without the command line argument, then the extension will disappear from the list of installed extensions.

这篇关于以编程方式加载解压缩的Chrome扩展程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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