manifest.json 5.6 KB

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