Cyberhaven security extension Firefox

Examine source code of Cyberhaven security extension

Inspect and view changes in Cyberhaven security extension source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "Cyberhaven security extension",
  "version": "23.10.1",
  "description": "Cyberhaven corporate data security extension",
  "browser_action": {
    "default_icon": {
      "128": "assets/icons/cyberhaven-logo.png"
    },
    "default_title": "Cyberhaven",
    "default_popup": "popup.html"
  },
  "background": {
    "scripts": [
      "js/browser-polyfill.min.js",
      "js/background.js"
    ],
    "persistent": true
  },
  "icons": {
    "128": "assets/icons/cyberhaven-logo.png"
  },
  "permissions": [
    "alarms",
    "tabs",
    "downloads",
    "nativeMessaging",
    "webNavigation",
    "webRequest",
    "storage",
    "cookies",
    "<all_urls>"
  ],
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "exclude_matches": [
        "*://*.google.com/*",
        "*://*.dropbox.com/*",
        "*://*.box.com/*",
        "*://*.sharepoint.com/*",
        "*://*.live.com/*",
        "*://*.office.com/*",
        "*://*.office365.com/*",
        "*://www.microsoft365.com/*",
        "*://*.openai.com/*",
        "*://*.gitlab.com/*",
        "*://*.github.dev/*",
        "*://*.github.com/*",
        "*://*.githubusercontent.com/*",
        "*://*.bing.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.common.dom-events.loader.js"
      ],
      "all_frames": true,
      "run_at": "document_start",
      "match_about_blank": true
    },
    {
      "matches": [
        "*://*.google.com/*"
      ],
      "exclude_matches": [
        "*://mail.google.com/*",
        "https://docs.google.com/picker*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.google.index.js"
      ],
      "all_frames": true,
      "run_at": "document_start",
      "match_about_blank": true
    },
    {
      "matches": [
        "*://mail.google.com/*",
        "https://docs.google.com/picker*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.com.google.mail.index.js"
      ],
      "all_frames": true,
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://*.dropbox.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.dropbox.index.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://*.box.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.box.index.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    },
    {
      "matches": [
        "*://*.live.com/*"
      ],
      "exclude_matches": [
        "*://outlook.live.com/*",
        "*://outlook.office.com/*",
        "*://outlook.office365.com/*",
        "*://*.officeapps.live.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.live.index.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    },
    {
      "matches": [
        "*://outlook.office.com/*",
        "*://outlook.office365.com/*",
        "*://outlook.live.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.outlook.office.index.js"
      ]
    },
    {
      "matches": [
        "*://www.office.com/*",
        "*://www.microsoft365.com/*",
        "*://*.odwebp.svc.ms/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.office.index.js"
      ],
      "all_frames": true,
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://*.sharepoint.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.sharepoint.index.js"
      ],
      "run_at": "document_start",
      "match_about_blank": true,
      "all_frames": true
    },
    {
      "matches": [
        "*://*.officeapps.live.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.sharepoint.track-paste-events.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    },
    {
      "matches": [
        "*://*.openai.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.openai.index.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    },
    {
      "matches": [
        "*://*.gitlab.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.gitlab.index.js"
      ],
      "all_frames": true,
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://*.github.dev/*",
        "*://*.github.com/*",
        "*://*.githubusercontent.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.github.index.js"
      ],
      "all_frames": true,
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://*.bing.com/*"
      ],
      "js": [
        "js/browser-polyfill.min.js",
        "js/apps.bing.index.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    }
  ],
  "web_accessible_resources": [
    "js/apps.common.dom-extras.web.js",
    "js/apps.com.google.xhr.web.js",
    "js/apps.com.google.mail.xhr.web.js",
    "js/apps.com.google.mail.xhr.share.web.js",
    "js/apps.dropbox.cloud_data.js",
    "js/apps.sharepoint.xhr.js",
    "js/apps.sharepoint.cloud_data.js",
    "js/apps.live.cloud_data.js",
    "js/apps.outlook.office.xhr.js",
    "js/apps.office.xhr.js",
    "js/apps.box.xhr.js",
    "js/apps.box.cloud_data.js",
    "js/apps.openai.cloud_data.js",
    "js/apps.bing.cloud_data.web.js",
    "js/apps.github.cloud_data.js",
    "js/apps.gitlab.cloud_data.js"
  ],
  "applications": {
    "gecko": {
      "id": "{eddf1c58-948d-4e0e-9c42-e611e9050a97}"
    }
  }
}

Best Cyberhaven security extension Alternatives

Here are some Firefox add-ons that are similar to Cyberhaven security extension: