javascript - 发布了一个新的 Chrome 扩展,当我尝试下载它进行测试时,它坏了

标签 javascript google-chrome google-chrome-extension

所以我尝试为 Chrome 网上应用店创建一个新的 Chrome 扩展程序,一切似乎都能正确上传和发布。

但是现在当我尝试加载扩展页面时,它坏了。

Chrome 在控制台中给我这个错误:

POST https://chrome.google.com/webstore/ajax/detail?hl=en-US&gl=US&pv=20170811&mce=atf%2Cpii%2Crtr%2Crlb%2Cgtc%2Chcn%2Csvp%2Cwtd%2Cnrp%2Chap%2Cnma%2Cc3d%2Cncr%2Cctm%2Cac%2Chot%2Ceuf%2Cmac%2Cfcf%2Crma%2Crae%2Cshr%2Cesl%2Cigb&id=gpgcbiaclhpaiknckdfdpbjkdgfkimmo&container=CHROME&_reqid=706656&rt=j 404 ()

然后我收到错误消息:

There was a problem loading the item. Please refresh the page and try again.

据我所知,我的 manifest.json 是正确的:

{
    "name": "Chinese Personalized Colors",
    "version": "0.0.0.1",
    "short_name": "CPC",
    "manifest_version": 2,
    "description": "Color code individual Chinese characters",
    "options_ui": {
        "chrome_style": true,
        "page": "options.html"
    },
    "content_scripts": [
        {
            "matches": ["http://*/*", "https://*/*", "file:///*/*", "\u003Call_urls>"],
            "css": ["mystyles.css"],
            "js": ["jquery-1.7.2.min.js", "highlight_class_version.js", "content.js"],
            "all_frames": true
        }

    ],
    "permissions": ["storage", "http://*/*"],
    "background": {
        "scripts": ["dict.js", "main.js", "background.js"]
    },
    "browser_action": {
        "default_title": "CPC"
    },
    "icons": {
        "128": "cpc-128px.png",
        "48": "cpc-48px.png",
        "16": "cpc-16px.png"
    },
    "author": "My Name",
    "web_accessible_resources": ["css/*", "js/*", "images/*"]
}

以上所有图片和所有文件都存在于上传到 Google 的 zip 中。

我尝试注销并重新登录,因为这是一些人推荐的建议。

有什么问题吗?可能只是因为该应用程序发布的时间不够长,无法正常运行吗?堆栈跟踪并没有真正告诉我太多信息,而且我在任何地方都找不到关于最近上传导致此类错误的任何文档。

最佳答案

它开始工作,我没有上传任何更改。据我所知,有时应用程序传播到网上应用店需要一些时间,即使出现列表也是如此。

关于javascript - 发布了一个新的 Chrome 扩展,当我尝试下载它进行测试时,它坏了,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47747797/

相关文章:

JavaScript:为什么这个循环的优化使它变慢了?

javascript - 使用 JavaScript 计算 Blob 的哈希值

javascript - 有没有比这更合理的方法来使用 javascript 替换所有斜杠?

javascript - AngularJS Dropdown 需要验证

css - WebKit CSS 转换 : Scaling doesn't work on Retina Mac if the scale factor is greater than 1 for certain HTML elements

node.js - 未捕获( promise ): The message port closed before a response was received

google-chrome - 移动版 Google Chrome 支持浏览器扩展吗?

java Selenium Chrome - 单击按钮

javascript - iframe 上的 Chrome 扩展内容脚本没有 src 属性

google-chrome-extension - 1 个用户指定域的 host_permissions