Paimon

Paimon

Track Genshin Impact stats in your browser.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "__MSG_pluginName__",
  "version": "0.2.1",
  "description": "__MSG_pluginDesc__",
  "default_locale": "en_US",
  "action": {
    "default_icon": "./assets/icon-48.png",
    "default_popup": "./dist/popup/index.html"
  },
  "background": {
    "service_worker": "./dist/background/index.js"
  },
  "content_scripts": [
    {
      "matches": [
        "https://webstatic.mihoyo.com/app/community-game-records/rpg/?game_id=6&ref=paimon*"
      ],
      "js": [
        "./assets/js/content.js"
      ],
      "world": "MAIN"
    },
    {
      "matches": [
        "https://webstatic.mihoyo.com/app/community-game-records/rpg/?game_id=6&ref=paimon*"
      ],
      "js": [
        "./dist/contentScripts/index.global.js"
      ]
    }
  ],
  "options_ui": {
    "page": "./dist/options/index.html",
    "open_in_tab": false
  },
  "icons": {
    "16": "./assets/icon-16.png",
    "32": "./assets/icon-32.png",
    "48": "./assets/icon-48.png",
    "96": "./assets/icon-96.png",
    "128": "./assets/icon-128.png"
  },
  "permissions": [
    "storage",
    "cookies",
    "alarms",
    "declarativeNetRequest"
  ],
  "host_permissions": [
    "*://*.mihoyo.com/",
    "*://*.miyoushe.com/",
    "*://*.hoyolab.com/",
    "*://*.geetest.com/"
  ]
}