CS Stats Viewer

CS Stats Viewer

See CS stats on Steam profiles and get extra tools on the ESEA website.

Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "CS Stats Viewer",
  "description": "See CS stats on Steam profiles and get extra tools on the ESEA website.",
  "version": "3.0.0",
  "icons": {
    "48": "assets/icons/cs-stats-viewer-black_48.png",
    "96": "assets/icons/cs-stats-viewer-black_96.png"
  },
  "permissions": [
    "activeTab",
    "scripting",
    "storage"
  ],
  "host_permissions": [
    "*://play.esea.net/*",
    "*://steamcommunity.com/id/*",
    "*://steamcommunity.com/profiles/*",
    "*://api.eslgaming.com/play/v1/users/*",
    "*://api.faceit.com/*"
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'"
  },
  "minimum_chrome_version": "88",
  "action": {
    "default_popup": "popup/index.html",
    "default_icon": {
      "48": "assets/icons/cs-stats-viewer-black_48.png",
      "96": "assets/icons/cs-stats-viewer-black_96.png"
    },
    "default_title": "CS Stats Viewer"
  },
  "background": {
    "service_worker": "js/background.bundle.js",
    "type": "module"
  },
  "content_scripts": [
    {
      "matches": [
        "*://play.esea.net/*",
        "*://steamcommunity.com/id/*",
        "*://steamcommunity.com/profiles/*"
      ],
      "exclude_matches": [
        "*://steamcommunity.com/*/*/awards*",
        "*://steamcommunity.com/*/*/badges*",
        "*://steamcommunity.com/*/*/games*",
        "*://steamcommunity.com/*/*/followedgames*",
        "*://steamcommunity.com/*/*/reviews*",
        "*://steamcommunity.com/*/*/inventory*",
        "*://steamcommunity.com/*/*/recommended*",
        "*://steamcommunity.com/*/*/screenshots*",
        "*://steamcommunity.com/*/*/images*",
        "*://steamcommunity.com/*/*/videos*",
        "*://steamcommunity.com/*/*/myworkshopfiles*",
        "*://steamcommunity.com/*/*/groups*",
        "*://steamcommunity.com/*/*/friends*",
        "*://steamcommunity.com/*/*/allcomments*"
      ],
      "js": [
        "js/contentScript.bundle.js"
      ]
    }
  ]
}