在Chrome网上应用店外部安装Chrome扩展程序表格 [英] Install Chrome extension form outside the Chrome Web Store

查看:104
本文介绍了在Chrome网上应用店外部安装Chrome扩展程序表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了Chrome扩展程序,并且已经打包了.
我将扩展程序发送给了一些人尝试,但是Chrome开始阻止它在商店中找不到的扩展程序.

I have developed a Chrome extension and I have packed it.
I sent my extension to some people to try it, but Chrome started to block extensions that it does not find in the store.

有什么方法可以安装我的扩展程序而不会被Chrome阻止?

Is there any way to install my extension without getting blocked by Chrome?

编辑
有什么方法可以将扩展程序安装为开发人员模式?我读到只有在开发人员模式下安装的扩展程序才会被阻止.

EDIT
Is there any way to install extension as developer mode? I read that only extensions that installed in developer mode will not blocked.

推荐答案

对于不熟悉计算机的常规Windows用户,实际上不可能从Chrome Web外部安装和使用扩展程序商店.

For regular Windows users who are not skilled with computers, it is practically not possible to install and use extensions from outside the Chrome Web Store.

其他操作系统(Linux,Mac,Chrome OS)的用户可以轻松安装解压缩的扩展程序(在开发人员模式下).
Windows用户也可以加载解压缩的扩展程序,但是当他们启动Chrome或打开新的隐身窗口时,他们总是会看到带有禁用开发人员模式扩展程序"的信息提示框,这确实很烦人. Windows用户使用没有此类对话框的解压缩扩展程序的唯一方法是通过安装

Users of other operating systems (Linux, Mac, Chrome OS) can easily install unpacked extensions (in developer mode).
Windows users can also load an unpacked extension, but they will always see an information bubble with "Disable developer mode extensions" when they start Chrome or open a new incognito window, which is really annoying. The only way for Windows users to use unpacked extensions without such dialogs is to switch to Chrome on the developer channel, by installing https://www.google.com/chrome/browser/index.html?extra=devchannel#eula.

可以按照以下步骤以解压缩方式加载扩展:

  1. 访问chrome://extensions(通过多功能框或菜单->工具->扩展).
  2. 通过选中右上角的复选框启用开发人员模式.
  3. 点击加载解压的扩展程序..."按钮.
  4. 选择包含您的解压缩扩展名的目录.
  1. Visit chrome://extensions (via omnibox or menu -> Tools -> Extensions).
  2. Enable Developer mode by ticking the checkbox in the upper-right corner.
  3. Click on the "Load unpacked extension..." button.
  4. Select the directory containing your unpacked extension.

如果您有一个crx文件,则需要首先将其提取. CRX文件是具有不同标题的zip文件.任何有能力的zip程序都应该可以打开它.如果您没有这样的程序,建议您 7-zip .

If you have a crx file, then it needs to be extracted first. CRX files are zip files with a different header. Any capable zip program should be able to open it. If you don't have such a program, I recommend 7-zip.

这些步骤几乎适用于所有扩展,但依赖于扩展ID的扩展除外.如果使用以前的方法,则将获得带有随机扩展名的扩展名.如果保留扩展名很重要,那么您需要知道CRX文件的公钥并将其插入manifest.json中.之前,我已经在 https://stackoverflow.com/a/21500707 上详细说明了如何获取和使用此密钥.

These steps will work for almost every extension, except extensions that rely on their extension ID. If you use the previous method, you will get an extension with a random extension ID. If it is important to preserve the extension ID, then you need to know the public key of your CRX file and insert this in your manifest.json. I have previously given a detailed explanation on how to get and use this key at https://stackoverflow.com/a/21500707.

这篇关于在Chrome网上应用店外部安装Chrome扩展程序表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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