manifest.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "Stylus",
  3. "version": "1.1.6.3",
  4. "minimum_chrome_version": "49",
  5. "description": "__MSG_description__",
  6. "homepage_url": "http://add0n.com/stylus.html",
  7. "manifest_version": 2,
  8. "icons": {
  9. "16": "/images/icon/16.png",
  10. "32": "/images/icon/32.png",
  11. "48": "/images/icon/48.png",
  12. "128": "/images/icon/128.png"
  13. },
  14. "permissions": [
  15. "tabs",
  16. "webNavigation",
  17. "contextMenus",
  18. "storage",
  19. "declarativeContent",
  20. "<all_urls>"
  21. ],
  22. "background": {
  23. "scripts": [
  24. "js/messaging.js",
  25. "vendor-overwrites/lz-string/LZString-2xspeedup.js",
  26. "js/color-parser.js",
  27. "js/usercss.js",
  28. "background/storage.js",
  29. "background/usercss-helper.js",
  30. "js/prefs.js",
  31. "js/script-loader.js",
  32. "background/background.js",
  33. "vendor/node-semver/semver.js",
  34. "background/style-via-api.js",
  35. "background/update.js"
  36. ]
  37. },
  38. "commands": {
  39. "openManage": {
  40. "description": "__MSG_openManage__"
  41. },
  42. "styleDisableAll": {
  43. "description": "__MSG_disableAllStyles__"
  44. }
  45. },
  46. "content_scripts": [
  47. {
  48. "matches": ["http://userstyles.org/*", "https://userstyles.org/*"],
  49. "run_at": "document_start",
  50. "all_frames": false,
  51. "js": ["content/install-hook-userstyles.js"]
  52. },
  53. {
  54. "matches": ["<all_urls>"],
  55. "include_globs": ["*.user.css", "*.user.styl"],
  56. "run_at": "document_idle",
  57. "all_frames": false,
  58. "js": ["content/install-hook-usercss.js"]
  59. }
  60. ],
  61. "browser_action": {
  62. "default_icon": {
  63. "16": "/images/icon/16w.png",
  64. "32": "/images/icon/32w.png",
  65. "19": "/images/icon/19w.png",
  66. "38": "/images/icon/38w.png"
  67. },
  68. "default_title": "Stylus",
  69. "default_popup": "popup.html"
  70. },
  71. "default_locale": "en",
  72. "options_ui": {
  73. "page": "options.html",
  74. "chrome_style": true
  75. }
  76. }