无法安装自己的Google Chrome扩展程序

时间:2012-12-20 19:14:46

标签: google-chrome google-chrome-extension

我创建了非常简单的扩展,在“加载解压缩模式”中运行良好,甚至作为.crx文件。但我无法从Chrome商店安装它,当我尝试安装它时,它说“没有文件”。报告同一问题的其他用户。我身边还是谷歌方面有什么东西吗?

PS。分机pagesource code

2 个答案:

答案 0 :(得分:0)

Google Chrome considers a file to be installable if either of the following is true

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"
        "*/*"

看看here

答案 1 :(得分:0)

我遇到了同样的问题,不幸的是,我的房子被打破了2天。我设法通过提高版本号并重新上传zip文件来修复它。