2015-01-29 18:41:45 +00:00
|
|
|
{
|
2017-02-14 15:35:53 +00:00
|
|
|
"name": "Stylus",
|
2018-04-09 14:33:35 +00:00
|
|
|
"version": "1.3.13",
|
2017-03-19 20:30:20 +00:00
|
|
|
"minimum_chrome_version": "49",
|
2017-02-14 15:35:53 +00:00
|
|
|
"description": "__MSG_description__",
|
2017-12-13 03:53:25 +00:00
|
|
|
"homepage_url": "https://add0n.com/stylus.html",
|
2017-02-14 15:35:53 +00:00
|
|
|
"manifest_version": 2,
|
|
|
|
"icons": {
|
2017-03-24 16:38:02 +00:00
|
|
|
"16": "/images/icon/16.png",
|
|
|
|
"32": "/images/icon/32.png",
|
|
|
|
"48": "/images/icon/48.png",
|
|
|
|
"128": "/images/icon/128.png"
|
2017-02-14 15:35:53 +00:00
|
|
|
},
|
|
|
|
"permissions": [
|
|
|
|
"tabs",
|
|
|
|
"webNavigation",
|
|
|
|
"contextMenus",
|
2017-04-13 09:59:55 +00:00
|
|
|
"storage",
|
|
|
|
"<all_urls>"
|
2017-04-13 07:54:56 +00:00
|
|
|
],
|
2017-02-14 15:35:53 +00:00
|
|
|
"background": {
|
2017-07-12 18:52:44 +00:00
|
|
|
"scripts": [
|
2017-07-14 00:52:40 +00:00
|
|
|
"js/messaging.js",
|
2018-01-01 17:02:49 +00:00
|
|
|
"js/storage-util.js",
|
2018-01-04 13:43:54 +00:00
|
|
|
"js/sections-equal.js",
|
2018-01-04 14:04:23 +00:00
|
|
|
"background/storage-dummy.js",
|
2017-07-12 18:52:44 +00:00
|
|
|
"background/storage.js",
|
|
|
|
"js/prefs.js",
|
2017-08-05 16:49:25 +00:00
|
|
|
"js/script-loader.js",
|
2018-01-01 17:02:49 +00:00
|
|
|
"js/usercss.js",
|
2017-07-12 18:52:44 +00:00
|
|
|
"background/background.js",
|
2018-01-01 17:02:49 +00:00
|
|
|
"background/usercss-helper.js",
|
2017-11-13 12:28:50 +00:00
|
|
|
"background/style-via-api.js",
|
2018-01-01 17:02:49 +00:00
|
|
|
"background/search-db.js",
|
|
|
|
"background/update.js",
|
2018-01-10 18:56:14 +00:00
|
|
|
"background/refresh-all-tabs.js",
|
2018-02-15 08:27:00 +00:00
|
|
|
"background/openusercss-api.js",
|
2018-01-07 08:20:55 +00:00
|
|
|
"vendor/node-semver/semver.js",
|
|
|
|
"vendor-overwrites/colorpicker/colorconverter.js"
|
2017-07-12 18:52:44 +00:00
|
|
|
]
|
2017-02-14 15:35:53 +00:00
|
|
|
},
|
|
|
|
"commands": {
|
|
|
|
"openManage": {
|
|
|
|
"description": "__MSG_openManage__"
|
|
|
|
},
|
|
|
|
"styleDisableAll": {
|
|
|
|
"description": "__MSG_disableAllStyles__"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"content_scripts": [
|
|
|
|
{
|
|
|
|
"matches": ["<all_urls>"],
|
|
|
|
"run_at": "document_start",
|
|
|
|
"all_frames": true,
|
2017-04-12 09:54:55 +00:00
|
|
|
"match_about_blank": true,
|
2017-07-12 18:52:44 +00:00
|
|
|
"js": ["content/apply.js"]
|
2017-02-14 15:35:53 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"matches": ["http://userstyles.org/*", "https://userstyles.org/*"],
|
2017-04-15 09:24:14 +00:00
|
|
|
"run_at": "document_start",
|
2017-02-14 15:35:53 +00:00
|
|
|
"all_frames": false,
|
2017-11-24 15:26:20 +00:00
|
|
|
"js": ["content/install-hook-userstyles.js"]
|
2017-08-05 16:49:25 +00:00
|
|
|
},
|
2018-02-15 08:27:00 +00:00
|
|
|
{
|
|
|
|
"matches": ["https://openusercss.org/*", "https://openusercss.com/*"],
|
|
|
|
"run_at": "document_start",
|
|
|
|
"all_frames": false,
|
|
|
|
"js": ["content/install-hook-openusercss.js"]
|
|
|
|
},
|
2017-08-05 16:49:25 +00:00
|
|
|
{
|
|
|
|
"matches": ["<all_urls>"],
|
|
|
|
"include_globs": ["*.user.css", "*.user.styl"],
|
|
|
|
"run_at": "document_idle",
|
|
|
|
"all_frames": false,
|
2017-11-24 15:26:20 +00:00
|
|
|
"js": ["content/install-hook-usercss.js"]
|
2017-02-14 15:35:53 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"browser_action": {
|
|
|
|
"default_icon": {
|
2017-03-24 16:38:02 +00:00
|
|
|
"16": "/images/icon/16w.png",
|
|
|
|
"32": "/images/icon/32w.png",
|
|
|
|
"19": "/images/icon/19w.png",
|
|
|
|
"38": "/images/icon/38w.png"
|
2017-02-14 15:35:53 +00:00
|
|
|
},
|
|
|
|
"default_title": "Stylus",
|
|
|
|
"default_popup": "popup.html"
|
|
|
|
},
|
|
|
|
"default_locale": "en",
|
|
|
|
"options_ui": {
|
2017-07-14 08:25:33 +00:00
|
|
|
"page": "options.html",
|
2017-12-08 03:20:30 +00:00
|
|
|
"chrome_style": false
|
2017-02-14 15:35:53 +00:00
|
|
|
}
|
2015-01-29 18:41:45 +00:00
|
|
|
}
|