我在这里发帖看看你是否知道这个错误可能是什么,昨晚遇到了对我的 Chrome 扩展进行更改。由于图标扩展的背景是橙色的并且不会改变:
http://img15.hostingpics.net/pics/388737bug.png
第一个图标是本地扩展,第二个来自 Chrome Web Store
以下是图标的视图,启用时和未启用时。此错误 (?) 仅在 Google Chrome 上可见,在 Chromium 或 Canary 上不可见。
Link extension activated : http://img15.hostingpics.net/pics/791653icon19.png
Link extension disabled : http://img15.hostingpics.net/pics/751957icon19deactivate.png
我正在使用 Windows 7,但我还没有尝试卸载 Chrome 以查看是否解决了问题。
清单.json:
{
"manifest_version": 2,
"name": "YouTube Dark Theme : Black and Red",
"short_name": "Black & Red",
"description": "Youtube theme : Specially for night or prevent the flash effect overnight.",
"version": "1.29",
"permissions": [
"http://www.youtube.com/"
],
"content_scripts": [
{
"matches": ["http://www.youtube.com/*", "https://www.youtube.com/*"],
"js": ["youtube_theme_b_r.js"],
"run_at": "document_start"
},
{
"matches": ["*://apis.google.com/*/widget/render/comments*", "*://plus.googleapis.com/*/widget/render/comments*"],
"js": ["youtube_theme_b_r_comments.js"],
"run_at": "document_start",
"all_frames": true
}
],
"background": {
"page": "background.html",
"persistent": false
},
"browser_action": {
"default_icon": "images/icon_19.png",
"default_title": "Youtube Dark Theme : Black and Red"
},
"icons": {
"19": "images/icon_19.png",
"48": "images/icon_48.png",
"96": "images/icon_96.png"
},
"web_accessible_resources": [
"youtube_dark_theme_min.css",
"youtube_dark_theme_comments_min.css"
]
}
谢谢你。