Cosmos Extension

Cosmos Extension

Cosmos is a home to collect and curate anything you find on the internet.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "Cosmos Extension",
  "description": "Cosmos is a home to collect and curate anything you find on the internet.",
  "homepage_url": "https://join.cosmos.so",
  "manifest_version": 3,
  "version": "6.8.3",
  "background": {
    "service_worker": "js/backgroundLoader.js"
  },
  "action": {
    "default_title": "Cosmos",
    "default_icon": {
      "16": "assets/img/icon-16.png",
      "32": "assets/img/icon-32.png",
      "128": "assets/img/icon-128.png",
      "256": "assets/img/icon-256.png"
    }
  },
  "icons": {
    "16": "assets/img/icon-16.png",
    "32": "assets/img/icon-32.png",
    "128": "assets/img/icon-128.png",
    "256": "assets/img/icon-256.png"
  },
  "content_scripts": [
    {
      "matches": [
        "https://*.cosmos.so/authorize-extension"
      ],
      "css": [],
      "js": [
        "js/browser-polyfill.js",
        "js/safariLogin.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "https://*.cosmos.so/*"
      ],
      "css": [],
      "js": [
        "js/browser-polyfill.js",
        "js/safariLogout.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "https://*.cosmos.so/*"
      ],
      "css": [],
      "js": [
        "js/identifier.js"
      ],
      "run_at": "document_start"
    }
  ],
  "permissions": [
    "activeTab",
    "contextMenus",
    "cookies",
    "storage",
    "scripting",
    "alarms"
  ],
  "host_permissions": [
    "*://*/*",
    "https://*.cosmos.so/*"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "assets/*"
      ],
      "matches": [
        "*://*/*"
      ]
    }
  ]
}