manifest.chrome.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "manifest_version": 3,
  3. "name": "Automa",
  4. "action": {
  5. "default_popup": "popup.html",
  6. "default_icon": "icon-128.png"
  7. },
  8. "background": {
  9. "service_worker": "background.bundle.js",
  10. "type": "module"
  11. },
  12. "icons": {
  13. "128": "icon-128.png"
  14. },
  15. "commands": {
  16. "open-dashboard": {
  17. "suggested_key": {
  18. "default": "Alt+A",
  19. "mac": "Alt+A"
  20. },
  21. "description": "Open the dashboard"
  22. },
  23. "element-picker": {
  24. "suggested_key": {
  25. "default": "Alt+P",
  26. "mac": "Alt+P"
  27. },
  28. "description": "Open element picker"
  29. }
  30. },
  31. "host_permissions": ["<all_urls>"],
  32. "content_scripts": [
  33. {
  34. "matches": ["<all_urls>"],
  35. "js": ["contentScript.bundle.js"],
  36. "run_at": "document_start",
  37. "match_about_blank": true,
  38. "all_frames": true
  39. },
  40. {
  41. "matches": [
  42. "http://localhost/*",
  43. "*://*.automa.site/*",
  44. "*://automa.vercel.app/*"
  45. ],
  46. "js": ["webService.bundle.js"],
  47. "run_at": "document_start",
  48. "all_frames": false
  49. }
  50. ],
  51. "optional_permissions": [
  52. "cookies",
  53. "downloads",
  54. "contextMenus",
  55. "clipboardRead",
  56. "notifications"
  57. ],
  58. "permissions": [
  59. "tabs",
  60. "proxy",
  61. "alarms",
  62. "storage",
  63. "debugger",
  64. "activeTab",
  65. "offscreen",
  66. "webNavigation",
  67. "unlimitedStorage"
  68. ],
  69. "web_accessible_resources": [
  70. {
  71. "resources": [
  72. "/locales/*",
  73. "/icon-128.png",
  74. "/elementSelector.css",
  75. "elementSelector.bundle.js",
  76. "/Inter-roman-latin.var.woff2"
  77. ],
  78. "matches": [
  79. "*://*/*"
  80. ]
  81. }
  82. ],
  83. "sandbox": {
  84. "pages": ["/sandbox.html"]
  85. }
  86. }