0

我创建了非常简单的扩展,它在“加载解压模式”甚至 .crx 文件中运行良好。但我无法从 Chrome 商店安装它,它在我尝试安装时显示“无文件”。其他用户报告同样的问题。我这边或谷歌那边有什么东西吗?

附言。扩展页面源代码

4

2 回答 2

0

如果满足以下任一条件,Google Chrome 就会认为文件是可安装的

The file has the content type application/x-chrome-extension
The file suffix is .crx and both of the following are true:
    The file is not served with the HTTP header X-Content-Type-Options: nosniff
    The file is served with one of the following content types:
        empty string
        "text/plain"
        "application/octet-stream"
        "unknown/unknown"
        "application/unknown"
        "*/*"

看看这里

于 2012-12-22T18:28:11.617 回答
0

我有同样的问题,不幸的是我的坏了2天。我设法通过提高版本号并重新上传 zip 文件来解决它。

于 2012-12-24T13:37:51.273 回答