manifest.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. {
  2. "name": "SingleFile",
  3. "author": "Gildas Lormeau",
  4. "homepage_url": "https://github.com/gildas-lormeau/SingleFile",
  5. "icons": {
  6. "16": "extension/ui/resources/icon_16.png",
  7. "48": "extension/ui/resources/icon_48.png",
  8. "64": "extension/ui/resources/icon_64.png",
  9. "128": "extension/ui/resources/icon_128.png"
  10. },
  11. "version": "1.11.55",
  12. "description": "__MSG_extensionDescription__",
  13. "content_scripts": [
  14. {
  15. "matches": [
  16. "<all_urls>"
  17. ],
  18. "run_at": "document_start",
  19. "js": [
  20. "lib/index.js",
  21. "extension/index.js",
  22. "extension/lib/browser-polyfill/chrome-browser-polyfill.js",
  23. "lib/hooks/content/content-hooks-frames.js",
  24. "lib/single-file/single-file-helper.js",
  25. "lib/frame-tree/content/content-frame-tree.js"
  26. ],
  27. "all_frames": true,
  28. "match_about_blank": true
  29. },
  30. {
  31. "matches": [
  32. "<all_urls>"
  33. ],
  34. "js": [
  35. "common/ui/content/content-infobar-web.js"
  36. ]
  37. },
  38. {
  39. "matches": [
  40. "<all_urls>"
  41. ],
  42. "run_at": "document_start",
  43. "js": [
  44. "lib/index.js",
  45. "lib/hooks/content/content-hooks.js",
  46. "extension/index.js",
  47. "extension/core/content/content-bootstrap.js"
  48. ]
  49. }
  50. ],
  51. "background": {
  52. "scripts": [
  53. "lib/index.js",
  54. "extension/index.js",
  55. "extension/lib/browser-polyfill/chrome-browser-polyfill.js",
  56. "lib/single-file/vendor/css-minifier.js",
  57. "lib/single-file/vendor/css-tree.js",
  58. "lib/single-file/vendor/css-media-query-parser.js",
  59. "lib/single-file/vendor/html-srcset-parser.js",
  60. "lib/single-file/vendor/css-font-property-parser.js",
  61. "lib/single-file/single-file-util.js",
  62. "lib/single-file/single-file-helper.js",
  63. "lib/single-file/modules/css-fonts-minifier.js",
  64. "lib/single-file/modules/css-fonts-alt-minifier.js",
  65. "lib/single-file/modules/css-medias-alt-minifier.js",
  66. "lib/single-file/modules/css-matched-rules.js",
  67. "lib/single-file/modules/css-rules-minifier.js",
  68. "lib/single-file/modules/html-minifier.js",
  69. "lib/single-file/modules/html-serializer.js",
  70. "lib/single-file/modules/html-images-alt-minifier.js",
  71. "lib/single-file/single-file-core.js",
  72. "lib/single-file/single-file.js",
  73. "common/index.js",
  74. "common/ui/content/content-infobar.js",
  75. "extension/lib/core/bg/scripts.js",
  76. "extension/lib/fetch/content/content-fetch.js",
  77. "extension/lib/fetch/bg/fetch.js",
  78. "extension/lib/frame-tree/bg/frame-tree.js",
  79. "extension/lib/lazy/bg/lazy-timeout.js",
  80. "extension/core/bg/config.js",
  81. "extension/core/bg/tabs-data.js",
  82. "extension/core/bg/business.js",
  83. "extension/core/bg/messages.js",
  84. "extension/core/bg/tabs.js",
  85. "extension/core/bg/downloads.js",
  86. "extension/core/bg/autosave.js",
  87. "extension/core/bg/devtools.js",
  88. "extension/ui/bg/ui-main.js",
  89. "extension/ui/bg/ui-menus.js",
  90. "extension/ui/bg/ui-commands.js",
  91. "extension/ui/bg/ui-button.js"
  92. ],
  93. "persistent": false
  94. },
  95. "options_page": "extension/ui/pages/options.html",
  96. "sidebar_action": {
  97. "browser_style": true,
  98. "default_title": "SingleFile options",
  99. "default_panel": "extension/ui/pages/options.html#side-panel",
  100. "default_icon": "extension/ui/resources/icon_128.png",
  101. "open_at_install": false
  102. },
  103. "options_ui": {
  104. "browser_style": true,
  105. "page": "extension/ui/pages/options.html",
  106. "open_in_tab": false
  107. },
  108. "browser_action": {
  109. "default_icon": {
  110. "16": "extension/ui/resources/icon_16.png",
  111. "48": "extension/ui/resources/icon_48.png",
  112. "64": "extension/ui/resources/icon_64.png",
  113. "128": "extension/ui/resources/icon_128.png"
  114. },
  115. "default_title": "__MSG_buttonDefaultTooltip__"
  116. },
  117. "commands": {
  118. "save-tab": {
  119. "suggested_key": {
  120. "default": "Ctrl+Shift+Y"
  121. },
  122. "description": "Save the current tab or the selected content"
  123. },
  124. "save-all-tabs": {
  125. "suggested_key": {
  126. "default": "Ctrl+Shift+U"
  127. },
  128. "description": "Save all tabs"
  129. }
  130. },
  131. "web_accessible_resources": [
  132. "lib/hooks/content/content-hooks-web.js",
  133. "lib/hooks/content/content-hooks-frames-web.js",
  134. "common/ui/content/content-infobar-web.js"
  135. ],
  136. "permissions": [
  137. "menus",
  138. "clipboardWrite",
  139. "contextMenus",
  140. "downloads",
  141. "storage",
  142. "tabs",
  143. "<all_urls>"
  144. ],
  145. "applications": {
  146. "gecko": {
  147. "id": "{531906d3-e22f-4a6c-a102-8057b88a1a63}"
  148. }
  149. },
  150. "devtools_page": "extension/ui/devtools/devtools.html",
  151. "incognito": "spanning",
  152. "manifest_version": 2,
  153. "default_locale": "en"
  154. }