我在这里发帖,看看你是否有这个错误的概念,昨晚在我的Chrome扩展中进行了修改。由于图标扩展的背景是橙色,不会改变:Chrome 33.0.1750.117米,背景图标扩展名是橙色
http://img15.hostingpics.net/pics/388737bug.png
第一个图标是当地的扩展,从Chrome网上应用店第二
这里是的意见图标,当启用时,当它不是。此错误(?)仅在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,看看是否解决了这个问题。
manifest.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"
]
}
谢谢。
发布您的manifest.json。 – Teepeemm
谢谢你的回答,我编辑我的第一篇文章。 – TyrionGraphiste