Google Chrome扩展程序 [英] Google Chrome Extension

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

问题描述

我有两个文件。 manifest.json和content.js。我已经压缩了Zip格式的两个文件并转换为CRX格式。

I have two files. manifest.json and content.js. I have compressed the both files in Zip format and conver into CRX format.

然后只需将.crx文件拖放到Google Chrome浏览器中,然后继续安装crx文件。但它会显示一条警告消息CRX_MAGIC_NUMBER_INVALID。

Then just drag and drop the .crx file in Google chrome browser and continue to install the crx file. But it shows a alert message as "CRX_MAGIC_NUMBER_INVALID".

如何解决此问题?

推荐答案


您需要登录自己的Google帐户才能立即从网上应用店下载扩展程序。这是愚蠢的,但这是最好的方式。 来源。

我的朋友在安装自制扩展时遇到了同样的问题。这应该是您问题的解决方案。

My friend had the same problem with installing a homebrew extension too. This should be the solution to your issue.

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

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