Installing Chrome extension programmatically

▼魔方 西西 提交于 2019-12-03 20:08:35
Rob W

When you pack an extension, you also get a private key (in a .pem file). The extension ID is directly derived from this file (see also this answer).

After getting a private key and extension ID, you can lock the extension ID by populating the "key" field in the manifest file.

When designing an installer, keep in mind that Google is trying really hard to make it extremely difficult (if not impossible) for developers to install Chrome extensions that are not hosted in the Chrome Web store.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!