snapADDY Helper

snapADDY Helper

Make use of the advanced search and export features of the snapADDY products, right from your browser!

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "version": "3.4.2",
  "version_name": "3.4.2",
  "name": "__MSG_appName__",
  "description": "__MSG_appDescription__",
  "manifest_version": 3,
  "default_locale": "en",
  "icons": {
    "16": "images/icon-16.png",
    "32": "images/icon-32.png",
    "48": "images/icon-48.png",
    "128": "images/icon-128.png"
  },
  "action": {
    "default_icon": {
      "16": "images/icon-16.png",
      "32": "images/icon-32.png",
      "48": "images/icon-48.png",
      "128": "images/icon-128.png"
    }
  },
  "background": {
    "service_worker": "scripts/background-scripts/background.js"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "scripts/content-scripts/shared/main/main.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    },
    {
      "matches": [
        "https://www.google.de/search*",
        "https://www.google.com/search*"
      ],
      "js": [
        "scripts/content-scripts/shared/google-images/google-images.js"
      ],
      "run_at": "document_end",
      "all_frames": true
    },
    {
      "matches": [
        "https://www.snapaddy.com/de/index.html*"
      ],
      "js": [
        "scripts/content-scripts/shared/oauth/oauth.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    },
    {
      "matches": [
        "https://*.snapaddy.com/*"
      ],
      "js": [
        "scripts/content-scripts/shared/visitreport/visitreport.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    },
    {
      "matches": [
        "https://*.crm.ondemand.com/*"
      ],
      "js": [
        "scripts/content-scripts/shared/smart-autocomplete/sap-injector.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "https://*.lightning.force.com/*",
        "https://*.snapaddy.com/*",
        "http://localhost/*"
      ],
      "js": [
        "scripts/content-scripts/shared/proxy/proxy.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    }
  ],
  "permissions": [
    "tabs",
    "storage",
    "contextMenus",
    "webRequest",
    "declarativeNetRequest",
    "scripting"
  ],
  "optional_permissions": [
    "cookies"
  ],
  "host_permissions": [
    "<all_urls>"
  ],
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "webrequest-rules",
        "enabled": true,
        "path": "webrequest-rules.json"
      }
    ]
  },
  "web_accessible_resources": [
    {
      "resources": [
        "scripts/page-scripts/shared/proxy.js",
        "scripts/page-scripts/shared/dynamics-open-popup.js"
      ],
      "matches": [
        "<all_urls>"
      ]
    },
    {
      "resources": [
        "scripts/page-scripts/shared/smart-autocomplete/sap-frame-communication.js"
      ],
      "matches": [
        "https://*.crm.ondemand.com/*"
      ]
    }
  ]
}