1
我已完成开发扩展程序的chrome,但是当我尝试在Chrome网上商店上载时,我遇到了一个奇怪的问题。无法上传Chrome扩展程序
所以,我的扩展在我的机器上完美工作,开发人员模式,没有错误,什么都没有。
但是,当我试图把它上传,我得到这个错误:
然而,我在我的清单搜索也没有,在没有丢失}
。
当我添加一个,它只是停止在我的机器上工作。
这里清单(改变保密的一些信息):
{
"name": "Name",
"description": "Description",
"version": "0.1",
"options_page": "options/options.html",
"content_scripts": [
{
"matches": ["http://*.facebook.com/*", "https://*.facebook.com/*",
"http://*.twitter.com/*", "https://*.twitter.com/*"],
"js": ["jquery.js", "script.js"]
}
],
"permissions": [
"webRequest",
"storage",
"tabs",
"http://*.facebook.com/*", "https://*.facebook.com/*",
"http://*.twitter.com/*", "https://*.twitter.com/*"
],
"browser_action": {
"default_icon": { // optional
"19": "eye_inv.png", // optional
"38": "eye_inv.png" // optional
},
"default_title": "Name", // optional; shown in tooltip
"default_popup": "popup/popup.html" // optional
},
"background": {
"scripts": ["eventPage.js"],
"persistent": true
},
"manifest_version": 2
}
感谢任何帮助。
完全合作!护目镜应该改变他们的错误信息......无论如何,谢谢! –