dece4b57f3
Fix: handle dup name+namespace Fix: eslint eqeqeq Fix: trim @name's spaces Add: check update for userstyle Add: build CSS variable Fix: only check dup when id is not provided Refactor: userStyle2json -> userstyle.json Add: style for input Add: config dialog Fix: preserve config during update Fix: onchange doesn't fire on keyboard enter event Fix: remove empty file Add: validator. Metas must stay in the same line Add: warn the user if installation failed Fix: add some delay before starting installation Add: open the editor after first installation Fix: add openEditor to globals Fix: i18n Add: preprocessor. Move userstyle.build to background page. Fix: remove unused global Fix: preserved unknown prop in saveStyleSource() like saveStyle() Add: edit userstyle source Fix: load preprocessor dynamically Fix: load content script dynamically Fix: buildCode is async function Fix: drop Object.entries Fix: style.sections is undefined Fix: don't hide the name input but disable it Fix: query the style before installation Revert: changes to editor, editor.html Refactor: use term `usercss` instead of `userstyle` Fix: don't show homepage action for usercss Refactor: move script-loader to js/ Refactor: pull out mozParser Fix: code style Fix: we don't need to build meta anymore Fix: use saveUsercss instead of saveStyle to get responsed error Fix: last is undefined, load script error Fix: switch to moz-format Fix: drop injectContentScript. Move usercss check into install-user-css Fix: response -> respond Fix: globals -> global Fix: queryUsercss -> filterUsercss Fix: add processUsercss function Fix: only open editor for usercss Fix: remove findupUsercss fixme Fix: globals -> global Fix: globals -> global Fix: global pollution Revert: update.js Refactor: checkStyle Add: support usercss Fix: no need to getURL in background page Fix: merget semver.js into usercss.js Fix: drop all_urls in match pattern Fix: drop respondWithError Move stylus -> stylus-lang Add stylus-lang/readme Fix: use include_globs Fix: global pollution
79 lines
1.8 KiB
JSON
79 lines
1.8 KiB
JSON
{
|
|
"name": "Stylus",
|
|
"version": "1.1.3.1",
|
|
"minimum_chrome_version": "49",
|
|
"description": "__MSG_description__",
|
|
"homepage_url": "http://add0n.com/stylus.html",
|
|
"manifest_version": 2,
|
|
"icons": {
|
|
"16": "/images/icon/16.png",
|
|
"32": "/images/icon/32.png",
|
|
"48": "/images/icon/48.png",
|
|
"128": "/images/icon/128.png"
|
|
},
|
|
"permissions": [
|
|
"tabs",
|
|
"webNavigation",
|
|
"contextMenus",
|
|
"storage",
|
|
"<all_urls>"
|
|
],
|
|
"background": {
|
|
"scripts": [
|
|
"js/messaging.js",
|
|
"vendor-overwrites/lz-string/LZString-2xspeedup.js",
|
|
"js/usercss.js",
|
|
"background/storage.js",
|
|
"js/prefs.js",
|
|
"js/script-loader.js",
|
|
"background/background.js",
|
|
"background/update.js"
|
|
]
|
|
},
|
|
"commands": {
|
|
"openManage": {
|
|
"description": "__MSG_openManage__"
|
|
},
|
|
"styleDisableAll": {
|
|
"description": "__MSG_disableAllStyles__"
|
|
}
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["<all_urls>"],
|
|
"run_at": "document_start",
|
|
"all_frames": true,
|
|
"match_about_blank": true,
|
|
"js": ["content/apply.js"]
|
|
},
|
|
{
|
|
"matches": ["http://userstyles.org/*", "https://userstyles.org/*"],
|
|
"run_at": "document_start",
|
|
"all_frames": false,
|
|
"js": ["content/install.js"]
|
|
},
|
|
{
|
|
"matches": ["<all_urls>"],
|
|
"include_globs": ["*.user.css", "*.user.styl"],
|
|
"run_at": "document_idle",
|
|
"all_frames": false,
|
|
"js": ["content/install-user-css.js"]
|
|
}
|
|
],
|
|
"browser_action": {
|
|
"default_icon": {
|
|
"16": "/images/icon/16w.png",
|
|
"32": "/images/icon/32w.png",
|
|
"19": "/images/icon/19w.png",
|
|
"38": "/images/icon/38w.png"
|
|
},
|
|
"default_title": "Stylus",
|
|
"default_popup": "popup.html"
|
|
},
|
|
"default_locale": "en",
|
|
"options_ui": {
|
|
"page": "options.html",
|
|
"chrome_style": true
|
|
}
|
|
}
|