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.97",
  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. "match_origin_as_fallback": true
  28. },
  29. {
  30. "matches": [
  31. "<all_urls>"
  32. ],
  33. "run_at": "document_start",
  34. "js": [
  35. "lib/single-file-hooks-frames.js"
  36. ],
  37. "all_frames": true,
  38. "match_about_blank": true,
  39. "match_origin_as_fallback": true,
  40. "world": "MAIN"
  41. },
  42. {
  43. "matches": [
  44. "<all_urls>"
  45. ],
  46. "run_at": "document_start",
  47. "js": [
  48. "lib/web-stream.js",
  49. "lib/chrome-browser-polyfill.js",
  50. "lib/single-file-bootstrap.js",
  51. "lib/single-file-extension-bootstrap.js",
  52. "lib/single-file-infobar.js"
  53. ]
  54. }
  55. ],
  56. "background": {
  57. "page": "src/core/bg/background.html"
  58. },
  59. "sidebar_action": {
  60. "browser_style": true,
  61. "default_title": "SingleFile",
  62. "default_panel": "src/ui/pages/panel.html",
  63. "default_icon": "src/ui/resources/icon_128.png",
  64. "open_at_install": false
  65. },
  66. "options_ui": {
  67. "browser_style": true,
  68. "page": "src/ui/pages/options.html",
  69. "open_in_tab": false
  70. },
  71. "browser_action": {
  72. "default_icon": {
  73. "16": "src/ui/resources/icon_16.png",
  74. "32": "src/ui/resources/icon_32.png",
  75. "48": "src/ui/resources/icon_48.png",
  76. "64": "src/ui/resources/icon_64.png",
  77. "128": "src/ui/resources/icon_128.png"
  78. },
  79. "default_title": "__MSG_buttonDefaultTooltip__"
  80. },
  81. "commands": {
  82. "save-selected-tabs": {
  83. "suggested_key": {
  84. "default": "Ctrl+Shift+Y",
  85. "linux": "Ctrl+Alt+S"
  86. },
  87. "description": "__MSG_commandSaveSelectedTabs__"
  88. },
  89. "save-all-tabs": {
  90. "suggested_key": {
  91. "default": "Ctrl+Shift+U"
  92. },
  93. "description": "__MSG_commandSaveAllTabs__"
  94. },
  95. "custom-command-0": {
  96. "description": "__MSG_commandCustomShortcut0__"
  97. },
  98. "custom-command-1": {
  99. "description": "__MSG_commandCustomShortcut1__"
  100. },
  101. "custom-command-2": {
  102. "description": "__MSG_commandCustomShortcut2__"
  103. },
  104. "custom-command-3": {
  105. "description": "__MSG_commandCustomShortcut3__"
  106. },
  107. "custom-command-4": {
  108. "description": "__MSG_commandCustomShortcut4__"
  109. },
  110. "custom-command-5": {
  111. "description": "__MSG_commandCustomShortcut5__"
  112. },
  113. "custom-command-6": {
  114. "description": "__MSG_commandCustomShortcut6__"
  115. },
  116. "custom-command-7": {
  117. "description": "__MSG_commandCustomShortcut7__"
  118. },
  119. "custom-command-8": {
  120. "description": "__MSG_commandCustomShortcut8__"
  121. },
  122. "custom-command-9": {
  123. "description": "__MSG_commandCustomShortcut9__"
  124. }
  125. },
  126. "web_accessible_resources": [
  127. "lib/single-file-infobar.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. }