我正在使用 Chrome 21。一切正常,但我收到此警告消息 -
“对清单版本 1 的支持正在逐步取消。请升级到版本 2。” . 如果我要更新清单版本 2,我的 script.js 将无法正常工作。我的插件得到了错误的结果。如何解决这个问题呢 ?有人可以帮帮我吗..
清单文件:
{
"name": "Email_Extension",
"version": "1.0",
"manifest_version": 1,
"icons": {
"16": "EOE(16x16).png",
"48": "EOE(48x48).png",
"128": "EOE(128x128).png"
},
"description": "Eyes On Emails New",
"permissions": [
"http://api.eyesonemails.com/","http://192.168.0.197/","http://www.sagaciousinfosystems.com/","tabs"
],
"content_scripts": [
{
"matches": ["http://*/*", "https://*/*"],
"css": ["style.css"],
"js": ["jQuery 1.7.1.js","script.js"]
}
],
"background": {
"page": "background.html"
},
"browser_action": {
"default_title": "Eyes on Emails",
"default_icon": "EOE(48x48).png"
},
"web_accessible_resources": [
"images/loader.gif",
"images/email-wrong.png",
"images/email-correct.png",
"images/eye-icon.png"
],
"options_page": "options.html"
}