manifest.json 3.8 KB

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