Avochato for Chrome

Your Avochato companion within Chrome. Message contacts from your Avochato Inbox while you navigate your CRM or anywhere on the web
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "manifest_version": 3,
  "name": "Avochato for Chrome",
  "description": "Your Avochato companion within Chrome. Message contacts from your Avochato Inbox while you navigate your CRM or anywhere on the web",
  "version": "0.4.2",
  "update_url": "https://clients2.google.com/service/update2/crx",
  "permissions": [
    "sidePanel",
    "cookies",
    "tabs",
    "storage"
  ],
  "background": {
    "service_worker": "src/scripts/background/salesforce-worker.js",
    "type": "module"
  },
  "content_scripts": [
    {
      "matches": [
        "https://*.force.com/*",
        "https://*.salesforce.com/*"
      ],
      "js": [
        "src/scripts/content-script/salesforce-scraper.js"
      ],
      "type": "module",
      "run_at": "document_end"
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'; frame-src https://www.avochato.com/ https://stage.avochato.com/ https://stage-1.avochato.com/ http://localhost:3000/ https://*.salesforce.com/ https://stage-brian.avochato.com/ https://stage-ted.avochato.com/ https://stage-chris.avochato.com/ https://stage-denis.avochato.com/ https://stage-grady.avochato.com/ https://stage-nicole.avochato.com/"
  },
  "host_permissions": [
    "https://*.force.com/*",
    "https://*.salesforce.com/*",
    "https://*.avochato.com/",
    "http://localhost:3000/"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "src/services/avochato-service.js",
        "src/services/chrome-service.js",
        "src/services/salesforce-service.js",
        "src/utils/constants.js"
      ],
      "matches": [
        "https://*.force.com/*",
        "https://*.salesforce.com/*"
      ]
    }
  ],
  "action": {
    "default_title": "Click to open Avochato for Chrome"
  },
  "side_panel": {
    "default_path": "src/sidepanel/salesforce-panel.html"
  },
  "options_page": "src/options/options.html",
  "icons": {
    "16": "public/icons/avochato16x16.png",
    "32": "public/icons/avochato32x32.png",
    "48": "public/icons/avochato48x48.png",
    "128": "public/icons/avochato128x128.png",
    "512": "public/icons/avochato512x512.png"
  }
}