manifest.json 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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.12.21",
  12. "description": "__MSG_extensionDescription__",
  13. "content_scripts": [
  14. {
  15. "matches": [
  16. "<all_urls>"
  17. ],
  18. "run_at": "document_start",
  19. "js": [
  20. "lib/single-file/index.js",
  21. "extension/lib/single-file/index.js",
  22. "extension/lib/single-file/browser-polyfill/chrome-browser-polyfill.js",
  23. "lib/single-file/single-file-helper.js",
  24. "lib/single-file/processors/hooks/content/content-hooks-frames.js",
  25. "lib/single-file/processors/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/single-file/index.js",
  45. "lib/single-file/processors/hooks/content/content-hooks.js",
  46. "extension/lib/single-file/index.js",
  47. "extension/core/index.js",
  48. "extension/core/content/content-bootstrap.js"
  49. ]
  50. }
  51. ],
  52. "background": {
  53. "scripts": [
  54. "lib/single-file/index.js",
  55. "extension/lib/single-file/index.js",
  56. "extension/core/index.js",
  57. "extension/ui/index.js",
  58. "extension/lib/single-file/index.js",
  59. "extension/lib/single-file/browser-polyfill/chrome-browser-polyfill.js",
  60. "lib/single-file/vendor/css-minifier.js",
  61. "lib/single-file/vendor/css-tree.js",
  62. "lib/single-file/vendor/css-media-query-parser.js",
  63. "lib/single-file/vendor/html-srcset-parser.js",
  64. "lib/single-file/vendor/css-font-property-parser.js",
  65. "lib/single-file/single-file-util.js",
  66. "lib/single-file/single-file-helper.js",
  67. "lib/single-file/modules/css-fonts-minifier.js",
  68. "lib/single-file/modules/css-fonts-alt-minifier.js",
  69. "lib/single-file/modules/css-medias-alt-minifier.js",
  70. "lib/single-file/modules/css-matched-rules.js",
  71. "lib/single-file/modules/css-rules-minifier.js",
  72. "lib/single-file/modules/html-minifier.js",
  73. "lib/single-file/modules/html-serializer.js",
  74. "lib/single-file/modules/html-images-alt-minifier.js",
  75. "lib/single-file/single-file-core.js",
  76. "lib/single-file/single-file.js",
  77. "common/index.js",
  78. "common/ui/content/content-infobar.js",
  79. "extension/lib/single-file/core/bg/scripts.js",
  80. "extension/lib/single-file/fetch/content/content-fetch.js",
  81. "extension/lib/single-file/fetch/bg/fetch.js",
  82. "extension/lib/single-file/frame-tree/bg/frame-tree.js",
  83. "extension/lib/single-file/lazy/bg/lazy-timeout.js",
  84. "extension/lib/gdrive/gdrive.js",
  85. "extension/core/bg/config.js",
  86. "extension/core/bg/tabs-data.js",
  87. "extension/core/bg/business.js",
  88. "extension/core/bg/messages.js",
  89. "extension/core/bg/tabs.js",
  90. "extension/core/bg/downloads.js",
  91. "extension/core/bg/autosave.js",
  92. "extension/core/bg/devtools.js",
  93. "extension/core/bg/editor.js",
  94. "extension/ui/bg/ui-main.js",
  95. "extension/ui/bg/ui-menus.js",
  96. "extension/ui/bg/ui-commands.js",
  97. "extension/ui/bg/ui-button.js"
  98. ],
  99. "persistent": false
  100. },
  101. "options_page": "extension/ui/pages/options.html",
  102. "sidebar_action": {
  103. "browser_style": true,
  104. "default_title": "SingleFile options",
  105. "default_panel": "extension/ui/pages/options.html#side-panel",
  106. "default_icon": "extension/ui/resources/icon_128.png",
  107. "open_at_install": false
  108. },
  109. "options_ui": {
  110. "browser_style": true,
  111. "page": "extension/ui/pages/options.html",
  112. "open_in_tab": false
  113. },
  114. "browser_action": {
  115. "default_icon": {
  116. "16": "extension/ui/resources/icon_16.png",
  117. "48": "extension/ui/resources/icon_48.png",
  118. "64": "extension/ui/resources/icon_64.png",
  119. "128": "extension/ui/resources/icon_128.png"
  120. },
  121. "default_title": "__MSG_buttonDefaultTooltip__"
  122. },
  123. "commands": {
  124. "save-tab": {
  125. "suggested_key": {
  126. "default": "Ctrl+Shift+Y"
  127. },
  128. "description": "Save the current tab or the selected content"
  129. },
  130. "save-all-tabs": {
  131. "suggested_key": {
  132. "default": "Ctrl+Shift+U"
  133. },
  134. "description": "Save all tabs"
  135. }
  136. },
  137. "web_accessible_resources": [
  138. "lib/single-file/index.js",
  139. "lib/single-file/modules/html-serializer.js",
  140. "lib/single-file/processors/hooks/content/content-hooks-web.js",
  141. "lib/single-file/processors/hooks/content/content-hooks-frames-web.js",
  142. "common/ui/content/content-infobar-web.js",
  143. "extension/ui/content/content-ui-editor-web.js",
  144. "extension/ui/editor/editor-note-web.css",
  145. "extension/ui/editor/editor-mask-web.css",
  146. "extension/ui/editor/editor-frame-web.css"
  147. ],
  148. "oauth2": {
  149. "client_id": "207618107333-bktohpfmdfnv5hfavi1ll18h74gqi27v.apps.googleusercontent.com",
  150. "scopes": [
  151. "https://www.googleapis.com/auth/drive.file"
  152. ]
  153. },
  154. "permissions": [
  155. "identity",
  156. "menus",
  157. "clipboardWrite",
  158. "contextMenus",
  159. "downloads",
  160. "storage",
  161. "tabs",
  162. "<all_urls>"
  163. ],
  164. "optional_permissions": [
  165. "identity"
  166. ],
  167. "applications": {
  168. "gecko": {
  169. "id": "{531906d3-e22f-4a6c-a102-8057b88a1a63}"
  170. }
  171. },
  172. "devtools_page": "extension/ui/devtools/devtools.html",
  173. "incognito": "spanning",
  174. "manifest_version": 2,
  175. "default_locale": "en"
  176. }