manifest.firefox.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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": ["background.bundle.js"],
  11. "persistent": true
  12. },
  13. "browser_action": {
  14. "default_popup": "popup.html",
  15. "default_icon": "icon-128.png"
  16. },
  17. "icons": {
  18. "128": "icon-128.png"
  19. },
  20. "commands": {
  21. "open-dashboard": {
  22. "suggested_key": {
  23. "default": "Alt+A",
  24. "mac": "Alt+A"
  25. },
  26. "description": "Open the dashboard"
  27. },
  28. "element-picker": {
  29. "suggested_key": {
  30. "default": "Alt+P",
  31. "mac": "Alt+P"
  32. },
  33. "description": "Open element picker"
  34. }
  35. },
  36. "content_scripts": [
  37. {
  38. "matches": ["<all_urls>"],
  39. "js": ["contentScript.bundle.js"],
  40. "run_at": "document_start",
  41. "all_frames": true
  42. },
  43. {
  44. "matches": ["*://*.automa.site/*", "*://automa.vercel.app/*"],
  45. "js": ["webService.bundle.js"],
  46. "run_at": "document_start",
  47. "all_frames": false
  48. }
  49. ],
  50. "optional_permissions": ["clipboardRead", "clipboardWrite", "downloads", "notifications", "cookies"],
  51. "permissions": [
  52. "tabs",
  53. "proxy",
  54. "menus",
  55. "alarms",
  56. "storage",
  57. "webNavigation",
  58. "unlimitedStorage",
  59. "<all_urls>"
  60. ],
  61. "web_accessible_resources": [
  62. "/elementSelector.css",
  63. "/icon-128.png",
  64. "/Inter-roman-latin.var.woff2",
  65. "/locales/*",
  66. "elementSelector.bundle.js"
  67. ],
  68. "content_security_policy": "script-src 'self' 'unsafe-inline' https:; object-src 'self'"
  69. }