Cyberhaven security extension V3

Cyberhaven security extension V3

Cyberhaven corporate data security extension

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "version": "24.4.1",
  "description": "Cyberhaven corporate data security extension",
  "icons": {
    "128": "assets/icons/cyberhaven-logo.png"
  },
  "content_scripts": [
    {
      "run_at": "document_start",
      "matches": [
        "https://*.proton.me/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.me.proton.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "<all_urls>"
      ],
      "exclude_matches": [
        "*://*.google.com/*",
        "*://*.dropbox.com/*",
        "*://*.box.com/*",
        "*://*.sharepoint.com/*",
        "*://*.live.com/*",
        "*://*.office.com/*",
        "*://*.office365.com/*",
        "*://www.microsoft365.com/*",
        "*://*.openai.com/*",
        "*://*.chatgpt.com/*",
        "*://*.gitlab.com/*",
        "*://*.github.dev/*",
        "*://*.github.com/*",
        "*://*.githubusercontent.com/*",
        "*://*.bing.com/*",
        "*://*.proton.me/*",
        "*://*.wetransfer.com/*",
        "*://*.figma.com/*",
        "*://*.expensify.com/*",
        "*://*.docusign.com/*",
        "*://*.airtable.com/*"
      ],
      "all_frames": true,
      "match_about_blank": true,
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.common.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "https://wetransfer.com/*",
        "https://*.wetransfer.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.wetransfer.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "*://*.officeapps.live.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.sharepoint.track-paste-events.js"
      ],
      "all_frames": true
    },
    {
      "run_at": "document_start",
      "matches": [
        "*://*.sharepoint.com/*"
      ],
      "match_about_blank": true,
      "all_frames": true,
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.sharepoint.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "*://*.openai.com/*",
        "*://*.chatgpt.com/*"
      ],
      "all_frames": true,
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.openai.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "*://outlook.office.com/*",
        "*://outlook.office365.com/*",
        "*://outlook.live.com/*"
      ],
      "match_about_blank": true,
      "all_frames": true,
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.office.outlook.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "*://www.office.com/*",
        "*://www.microsoft365.com/*",
        "*://*.odwebp.svc.ms/*"
      ],
      "all_frames": true,
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.office.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "*://*.live.com/*"
      ],
      "exclude_matches": [
        "*://outlook.live.com/*",
        "*://outlook.office.com/*",
        "*://outlook.office365.com/*",
        "*://*.officeapps.live.com/*"
      ],
      "all_frames": true,
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.live.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "*://mail.google.com/*",
        "https://docs.google.com/picker*"
      ],
      "all_frames": true,
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.google.mail.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "*://*.google.com/*"
      ],
      "exclude_matches": [
        "*://mail.google.com/*",
        "https://docs.google.com/picker*"
      ],
      "all_frames": true,
      "match_about_blank": true,
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.google.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "*://*.gitlab.com/*"
      ],
      "all_frames": true,
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.gitlab.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "*://*.github.dev/*",
        "*://*.github.com/*",
        "*://*.githubusercontent.com/*"
      ],
      "all_frames": true,
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.github.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "https://*.figma.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.figma.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "https://*.expensify.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.expensify.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "*://*.dropbox.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.dropbox.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "https://*.docusign.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.docusign.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "*://*.box.com/*"
      ],
      "all_frames": true,
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.box.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "*://*.bing.com/*"
      ],
      "all_frames": true,
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.bing.index.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": [
        "https://airtable.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.airtable.index.js"
      ]
    }
  ],
  "name": "Cyberhaven security extension V3",
  "manifest_version": 3,
  "action": {
    "default_icon": {
      "128": "assets/icons/cyberhaven-logo.png"
    },
    "default_title": "Cyberhaven",
    "default_popup": "popup.html"
  },
  "background": {
    "service_worker": "js/worker.js"
  },
  "permissions": [
    "alarms",
    "tabs",
    "downloads",
    "webNavigation",
    "webRequest",
    "storage",
    "cookies",
    "scripting"
  ],
  "host_permissions": [
    "<all_urls>"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "js/apps.me.proton.cloud_data.web.js",
        "js/apps.common.xhr.webworker.web.js",
        "js/apps.common.dom-extras.web.js",
        "js/apps.com.wetransfer.cloud_data.web.js",
        "js/apps.com.sharepoint.xhr.web.js",
        "js/apps.com.sharepoint.cloud_data.web.js",
        "js/apps.com.openai.cloud_data.web.js",
        "js/apps.com.office.outlook.xhr.web.js",
        "js/apps.com.office.xhr.web.js",
        "js/apps.com.live.cloud_data.web.js",
        "js/apps.com.google.mail.xhr.web.js",
        "js/apps.com.google.mail.xhr.share.web.js",
        "js/apps.com.google.xhr.web.js",
        "js/apps.com.gitlab.cloud_data.web.js",
        "js/apps.com.github.cloud_data.web.js",
        "js/apps.com.figma.cloud_data.web.js",
        "js/apps.com.expensify.cloud_data.web.js",
        "js/apps.com.dropbox.cloud_data.web.js",
        "js/apps.com.docusign.cloud_data.web.js",
        "js/apps.com.box.xhr.web.js",
        "js/apps.com.box.cloud_data.web.js",
        "js/apps.com.bing.cloud_data.web.js",
        "js/apps.com.airtable.cloud_data.web.js"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ]
}