Launch and DTM Switch

Launch and DTM Switch

Enables the developer to locally override the embedded Launch or DTM library for testing.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "Launch and DTM Switch",
  "short_name": "Launch Switch",
  "description": "Enables the developer to locally override the embedded Launch or DTM library for testing.",
  "version": "3.0.2",
  "permissions": [
    "activeTab",
    "storage",
    "declarativeNetRequest"
  ],
  "host_permissions": [
    "https://www.google-analytics.com/",
    "*://*/*"
  ],
  "icons": {
    "48": "images/icon-48.png",
    "128": "images/icon-128.png"
  },
  "background": {
    "service_worker": "background.js"
  },
  "action": {
    "default_icon": {
      "19": "images/icon-19.png",
      "38": "images/icon-38.png"
    },
    "default_title": "Launch Switch",
    "default_popup": "popup.html"
  },
  "content_scripts": [
    {
      "matches": [
        "https://experience.adobe.com/*"
      ],
      "js": [
        "adobe-content-script.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "https://*/*"
      ],
      "exclude_matches": [
        "https://experience.adobe.com/*"
      ],
      "js": [
        "site-content-script.js"
      ],
      "run_at": "document_idle"
    }
  ],
  "content_security_policy": {
    "script-src": "'self' https://www.google-analytics.com",
    "object-src": "'self'"
  },
  "manifest_version": 3
}