manifest.chrome.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "manifest_version": 2,
  3. "name": "Automa",
  4. "background": {
  5. "scripts": ["background.bundle.js"],
  6. "persistent": false
  7. },
  8. "browser_action": {
  9. "default_popup": "popup.html",
  10. "default_icon": "icon-128.png"
  11. },
  12. "icons": {
  13. "128": "icon-128.png"
  14. },
  15. "commands": {
  16. "open-dashboard": {
  17. "suggested_key": {
  18. "default": "Ctrl+Shift+A",
  19. "mac": "MacCtrl+Shift+A"
  20. },
  21. "description": "Open the Automa dashboard"
  22. }
  23. },
  24. "content_scripts": [
  25. {
  26. "matches": ["<all_urls>"],
  27. "js": ["contentScript.bundle.js"],
  28. "all_frames": true
  29. },
  30. {
  31. "matches": [
  32. "http://localhost/*",
  33. "*://*.automa.site/*",
  34. "*://automa.vercel.app/*"
  35. ],
  36. "js": ["webService.bundle.js"],
  37. "all_frames": false
  38. }
  39. ],
  40. "optional_permissions": [
  41. "clipboardRead",
  42. "downloads",
  43. "contextMenus",
  44. "notifications"
  45. ],
  46. "permissions": [
  47. "tabs",
  48. "proxy",
  49. "alarms",
  50. "storage",
  51. "debugger",
  52. "webNavigation",
  53. "unlimitedStorage",
  54. "<all_urls>"
  55. ],
  56. "web_accessible_resources": [
  57. "/elementSelector.css",
  58. "/Inter-roman-latin.var.woff2",
  59. "/locales/*",
  60. "elementSelector.bundle.js"
  61. ]
  62. }