manifest.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. {
  2. "name": "SingleFile",
  3. "author": "Gildas Lormeau",
  4. "homepage_url": "https://www.getsinglefile.com",
  5. "icons": {
  6. "16": "src/ui/resources/icon_16.png",
  7. "32": "src/ui/resources/icon_32.png",
  8. "48": "src/ui/resources/icon_48.png",
  9. "64": "src/ui/resources/icon_64.png",
  10. "128": "src/ui/resources/icon_128.png"
  11. },
  12. "version": "1.22.88",
  13. "description": "__MSG_extensionDescription__",
  14. "content_scripts": [
  15. {
  16. "matches": [
  17. "<all_urls>"
  18. ],
  19. "run_at": "document_start",
  20. "js": [
  21. "lib/chrome-browser-polyfill.js",
  22. "lib/single-file-frames.js",
  23. "lib/single-file-extension-frames.js"
  24. ],
  25. "all_frames": true,
  26. "match_about_blank": true
  27. },
  28. {
  29. "matches": [
  30. "<all_urls>"
  31. ],
  32. "run_at": "document_start",
  33. "js": [
  34. "lib/single-file-hooks-frames.js"
  35. ],
  36. "all_frames": true,
  37. "match_about_blank": true,
  38. "match_origin_as_fallback": true,
  39. "world": "MAIN"
  40. },
  41. {
  42. "matches": [
  43. "<all_urls>"
  44. ],
  45. "run_at": "document_start",
  46. "js": [
  47. "lib/web-stream.js",
  48. "lib/chrome-browser-polyfill.js",
  49. "lib/single-file-bootstrap.js",
  50. "lib/single-file-extension-bootstrap.js",
  51. "lib/single-file-infobar.js"
  52. ]
  53. }
  54. ],
  55. "background": {
  56. "page": "src/core/bg/background.html"
  57. },
  58. "sidebar_action": {
  59. "browser_style": true,
  60. "default_title": "SingleFile",
  61. "default_panel": "src/ui/pages/panel.html",
  62. "default_icon": "src/ui/resources/icon_128.png",
  63. "open_at_install": false
  64. },
  65. "options_ui": {
  66. "browser_style": true,
  67. "page": "src/ui/pages/options.html",
  68. "open_in_tab": false
  69. },
  70. "browser_action": {
  71. "default_icon": {
  72. "16": "src/ui/resources/icon_16.png",
  73. "32": "src/ui/resources/icon_32.png",
  74. "48": "src/ui/resources/icon_48.png",
  75. "64": "src/ui/resources/icon_64.png",
  76. "128": "src/ui/resources/icon_128.png"
  77. },
  78. "default_title": "__MSG_buttonDefaultTooltip__"
  79. },
  80. "commands": {
  81. "save-selected-tabs": {
  82. "suggested_key": {
  83. "default": "Ctrl+Shift+Y"
  84. },
  85. "description": "__MSG_commandSaveSelectedTabs__"
  86. },
  87. "save-all-tabs": {
  88. "suggested_key": {
  89. "default": "Ctrl+Shift+U"
  90. },
  91. "description": "__MSG_commandSaveAllTabs__"
  92. },
  93. "custom-command-0": {
  94. "description": "__MSG_commandCustomShortcut0__"
  95. },
  96. "custom-command-1": {
  97. "description": "__MSG_commandCustomShortcut1__"
  98. },
  99. "custom-command-2": {
  100. "description": "__MSG_commandCustomShortcut2__"
  101. },
  102. "custom-command-3": {
  103. "description": "__MSG_commandCustomShortcut3__"
  104. },
  105. "custom-command-4": {
  106. "description": "__MSG_commandCustomShortcut4__"
  107. },
  108. "custom-command-5": {
  109. "description": "__MSG_commandCustomShortcut5__"
  110. },
  111. "custom-command-6": {
  112. "description": "__MSG_commandCustomShortcut6__"
  113. },
  114. "custom-command-7": {
  115. "description": "__MSG_commandCustomShortcut7__"
  116. },
  117. "custom-command-8": {
  118. "description": "__MSG_commandCustomShortcut8__"
  119. },
  120. "custom-command-9": {
  121. "description": "__MSG_commandCustomShortcut9__"
  122. }
  123. },
  124. "web_accessible_resources": [
  125. "lib/single-file-hooks-frames.js",
  126. "lib/single-file-infobar.js",
  127. "lib/single-file-extension-editor-init.js",
  128. "lib/single-file-extension-editor.js",
  129. "lib/single-file-extension-editor-helper.js",
  130. "lib/single-file-zip.min.js",
  131. "lib/single-file-z-worker.js",
  132. "lib/web-stream.js",
  133. "src/lib/readability/Readability.js",
  134. "src/lib/readability/Readability-readerable.js",
  135. "src/ui/pages/editor-note-web.css",
  136. "src/ui/pages/editor-mask-web.css",
  137. "src/ui/pages/editor-frame-web.css"
  138. ],
  139. "permissions": [
  140. "identity",
  141. "menus",
  142. "downloads",
  143. "storage",
  144. "tabs",
  145. "<all_urls>"
  146. ],
  147. "optional_permissions": [
  148. "clipboardWrite",
  149. "nativeMessaging",
  150. "bookmarks",
  151. "webRequest",
  152. "webRequestBlocking"
  153. ],
  154. "browser_specific_settings": {
  155. "gecko": {
  156. "id": "{531906d3-e22f-4a6c-a102-8057b88a1a63}"
  157. },
  158. "gecko_android": {}
  159. },
  160. "incognito": "spanning",
  161. "manifest_version": 2,
  162. "default_locale": "en"
  163. }