manifest.firefox.json 1.4 KB

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