manifest.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. {
  2. "name": "SingleFile",
  3. "author": "Gildas Lormeau",
  4. "homepage_url": "https://github.com/gildas-lormeau/SingleFile",
  5. "icons": {
  6. "16": "src/ui/resources/icon_16.png",
  7. "48": "src/ui/resources/icon_48.png",
  8. "64": "src/ui/resources/icon_64.png",
  9. "128": "src/ui/resources/icon_128.png"
  10. },
  11. "version": "1.21.28",
  12. "description": "__MSG_extensionDescription__",
  13. "content_scripts": [
  14. {
  15. "matches": [
  16. "<all_urls>"
  17. ],
  18. "run_at": "document_start",
  19. "js": [
  20. "lib/chrome-browser-polyfill.js",
  21. "lib/single-file-frames.js",
  22. "lib/single-file-extension-frames.js"
  23. ],
  24. "all_frames": true,
  25. "match_about_blank": true
  26. },
  27. {
  28. "matches": [
  29. "<all_urls>"
  30. ],
  31. "run_at": "document_start",
  32. "js": [
  33. "lib/chrome-browser-polyfill.js",
  34. "lib/single-file-bootstrap.js",
  35. "lib/single-file-extension-bootstrap.js",
  36. "lib/single-file-infobar.js"
  37. ]
  38. }
  39. ],
  40. "background": {
  41. "page": "src/core/bg/background.html",
  42. "persistent": false
  43. },
  44. "options_page": "src/ui/pages/options.html",
  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. "48": "src/ui/resources/icon_48.png",
  61. "64": "src/ui/resources/icon_64.png",
  62. "128": "src/ui/resources/icon_128.png"
  63. },
  64. "default_title": "__MSG_buttonDefaultTooltip__"
  65. },
  66. "commands": {
  67. "save-selected-tabs": {
  68. "suggested_key": {
  69. "default": "Ctrl+Shift+Y"
  70. },
  71. "description": "__MSG_commandSaveSelectedTabs__"
  72. },
  73. "save-all-tabs": {
  74. "suggested_key": {
  75. "default": "Ctrl+Shift+U"
  76. },
  77. "description": "__MSG_commandSaveAllTabs__"
  78. }
  79. },
  80. "web_accessible_resources": [
  81. "lib/single-file-hooks-frames.js",
  82. "lib/single-file-infobar.js",
  83. "lib/single-file-extension-editor-init.js",
  84. "lib/single-file-extension-editor.js",
  85. "lib/single-file-extension-editor-helper.js",
  86. "src/lib/readability/Readability.js",
  87. "src/lib/readability/Readability-readerable.js",
  88. "src/ui/pages/editor-note-web.css",
  89. "src/ui/pages/editor-mask-web.css",
  90. "src/ui/pages/editor-frame-web.css"
  91. ],
  92. "oauth2": {
  93. "client_id": "207618107333-3pj2pmelhnl4sf3rpctghs9cean3q8nj.apps.googleusercontent.com",
  94. "scopes": [
  95. "https://www.googleapis.com/auth/drive.file"
  96. ]
  97. },
  98. "permissions": [
  99. "identity",
  100. "menus",
  101. "contextMenus",
  102. "downloads",
  103. "storage",
  104. "tabs",
  105. "<all_urls>"
  106. ],
  107. "optional_permissions": [
  108. "identity",
  109. "clipboardWrite",
  110. "nativeMessaging",
  111. "bookmarks",
  112. "webRequest",
  113. "webRequestBlocking"
  114. ],
  115. "browser_specific_settings": {
  116. "gecko": {
  117. "id": "{531906d3-e22f-4a6c-a102-8057b88a1a63}"
  118. }
  119. },
  120. "devtools_page": "src/core/devtools/devtools.html",
  121. "incognito": "spanning",
  122. "manifest_version": 2,
  123. "default_locale": "en"
  124. }