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.93",
  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. },
  86. "description": "__MSG_commandSaveSelectedTabs__"
  87. },
  88. "save-all-tabs": {
  89. "suggested_key": {
  90. "default": "Ctrl+Shift+U"
  91. },
  92. "description": "__MSG_commandSaveAllTabs__"
  93. },
  94. "custom-command-0": {
  95. "description": "__MSG_commandCustomShortcut0__"
  96. },
  97. "custom-command-1": {
  98. "description": "__MSG_commandCustomShortcut1__"
  99. },
  100. "custom-command-2": {
  101. "description": "__MSG_commandCustomShortcut2__"
  102. },
  103. "custom-command-3": {
  104. "description": "__MSG_commandCustomShortcut3__"
  105. },
  106. "custom-command-4": {
  107. "description": "__MSG_commandCustomShortcut4__"
  108. },
  109. "custom-command-5": {
  110. "description": "__MSG_commandCustomShortcut5__"
  111. },
  112. "custom-command-6": {
  113. "description": "__MSG_commandCustomShortcut6__"
  114. },
  115. "custom-command-7": {
  116. "description": "__MSG_commandCustomShortcut7__"
  117. },
  118. "custom-command-8": {
  119. "description": "__MSG_commandCustomShortcut8__"
  120. },
  121. "custom-command-9": {
  122. "description": "__MSG_commandCustomShortcut9__"
  123. }
  124. },
  125. "web_accessible_resources": [
  126. "lib/single-file-infobar.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. }