我有两个文件。 manifest.json 和 content.js。我已将这两个文件压缩为 Zip 格式并转换为 CRX 格式。
然后只需将.crx 文件拖放到Google chrome 浏览器中并继续安装crx 文件即可。但它显示的警告消息为“CRX_MAGIC_NUMBER_INVALID”。
我该如何解决这个问题?
最佳答案
You need to be signed into your Google account in order to download extensions from the Web Store now. It's stupid, but this is the best way. Source.
我的 friend 在安装自制扩展时也遇到了同样的问题。这应该是您问题的解决方案。
关于javascript - 谷歌浏览器扩展程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5511699/