Esportal+

Esportal+

Adds some useful esportal features.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "Esportal+",
  "description": "Adds some useful esportal features.",
  "version": "2.1.0",
  "manifest_version": 3,
  "permissions": [
    "tabs",
    "storage"
  ],
  "host_permissions": [
    "https://api.esportal.com/*",
    "https://api.faceit.com/*",
    "https://skovdehem.se/esp/*"
  ],
  "icons": {
    "16": "/img/icons/icon16.png",
    "48": "/img/icons/icon48.png",
    "128": "/img/icons/icon128.png"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "img/icons/*",
        "img/faceit/*",
        "img/ranks/*",
        "img/maps/*",
        "img/mvp.svg"
      ],
      "matches": [
        "https://esportal.com/*"
      ]
    }
  ],
  "content_scripts": [
    {
      "run_at": "document_end",
      "matches": [
        "https://esportal.com/*"
      ],
      "js": [
        "/content/api/latestmatches.js",
        "/content/api/match.js",
        "/content/api/user.js",
        "/content/common/accept.js",
        "/content/common/dom.js",
        "/content/common/faceit.js",
        "/content/common/hide.js",
        "/content/common/premium.js",
        "/content/common/settings.js",
        "/content/common/toggle.js",
        "/content/common/utils.js",
        "/content/lobby/bestmap.js",
        "/content/lobby/lobby.js",
        "/content/profile/profile.js",
        "/content/profile/history.js",
        "/content/content.js"
      ]
    }
  ],
  "action": {
    "default_icon": "/img/icons/icon48.png",
    "default_popup": "/popup/popup.html"
  },
  "background": {
    "service_worker": "/background/background.js"
  }
}