23190af270
Also fix the order: messaging.js should precede storage.js for notifyAllTabs() to work
56 lines
1.1 KiB
JSON
56 lines
1.1 KiB
JSON
{
|
|
"name": "Stylish",
|
|
"version": "1.4.0",
|
|
"description": "__MSG_description__",
|
|
"homepage_url": "https://userstyles.org",
|
|
"manifest_version": 2,
|
|
"icons": {
|
|
"16": "16.png",
|
|
"48": "48.png",
|
|
"128": "128.png"
|
|
},
|
|
"permissions": [
|
|
"tabs",
|
|
"webNavigation",
|
|
"contextMenus",
|
|
"storage",
|
|
"http://userstyles.org/",
|
|
"https://userstyles.org/"
|
|
],
|
|
"background": {
|
|
"scripts": ["messaging.js", "storage.js", "background.js"]
|
|
},
|
|
"commands": {
|
|
"openManage": {
|
|
"description": "__MSG_openManage__"
|
|
},
|
|
"styleDisableAll": {
|
|
"description": "__MSG_disableAllStyles__"
|
|
}
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["<all_urls>"],
|
|
"run_at": "document_start",
|
|
"all_frames": true,
|
|
"js": ["apply.js"]
|
|
},
|
|
{
|
|
"matches": ["http://userstyles.org/*", "https://userstyles.org/*"],
|
|
"run_at": "document_end",
|
|
"all_frames": false,
|
|
"js": ["install.js"]
|
|
}
|
|
],
|
|
"options_page": "manage.html",
|
|
"browser_action": {
|
|
"default_icon": {
|
|
"19": "19w.png",
|
|
"38": "38w.png"
|
|
},
|
|
"default_title": "Stylish",
|
|
"default_popup": "popup.html"
|
|
},
|
|
"default_locale": "en"
|
|
}
|