manifest.json 3.6 KB

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