TruckersMP Steam Helper

TruckersMP Steam Helper

This extension provides useful information about TruckersMP players in Steam.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "TruckersMP Steam Helper",
  "version": "22.8.27",
  "description": "This extension provides useful information about TruckersMP players in Steam.",
  "homepage_url": "https://github.com/cjmaxik/truckersmp-steam-helper",
  "manifest_version": 2,
  "minimum_chrome_version": "85",
  "applications": {
    "gecko": {
      "id": "[email protected]",
      "strict_min_version": "85.0"
    }
  },
  "icons": {
    "16": "icons/icon16.png",
    "24": "icons/icon24.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png",
    "256": "icons/icon256.png"
  },
  "permissions": [
    "storage",
    "alarms",
    "*://steamcommunity.com/*",
    "*://api.truckersmp.com/*",
    "*://traffic.krashnz.com/*"
  ],
  "options_ui": {
    "page": "options.html"
  },
  "background": {
    "persistent": false,
    "scripts": [
      "browser-polyfill.min.js",
      "background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "*://steamcommunity.com/id/*",
        "*://steamcommunity.com/profiles/*"
      ],
      "exclude_matches": [
        "*://steamcommunity.com/id/*/home",
        "*://steamcommunity.com/profiles/*/home",
        "*://steamcommunity.com/id/*/myactivity",
        "*://steamcommunity.com/profiles/*/myactivity",
        "*://steamcommunity.com/id/*/games*",
        "*://steamcommunity.com/profiles/*/games*",
        "*://steamcommunity.com/id/*/edit*",
        "*://steamcommunity.com/profiles/*/edit*",
        "*://steamcommunity.com/id/*/badges",
        "*://steamcommunity.com/profiles/*/badges",
        "*://steamcommunity.com/id/*/gamecards*",
        "*://steamcommunity.com/profiles/*/gamecards*",
        "*://steamcommunity.com/id/*/friendsthatplay*",
        "*://steamcommunity.com/profiles/*/friendsthatplay*",
        "*://steamcommunity.com/id/*/friends",
        "*://steamcommunity.com/id/*/friends/*",
        "*://steamcommunity.com/profiles/*/friends",
        "*://steamcommunity.com/profiles/*/friends/*",
        "*://steamcommunity.com/id/*/groups",
        "*://steamcommunity.com/profiles/*/groups",
        "*://steamcommunity.com/id/*/inventory*",
        "*://steamcommunity.com/profiles/*/inventory*",
        "*://steamcommunity.com/id/*/stats*",
        "*://steamcommunity.com/profiles/*/stats*",
        "*://steamcommunity.com/id/*/myworkshopfiles?*browsefilter=mysubscriptions*",
        "*://steamcommunity.com/id/*/myworkshopfiles/?*browsefilter=mysubscriptions*",
        "*://steamcommunity.com/profiles/*/myworkshopfiles?*browsefilter=mysubscriptions*",
        "*://steamcommunity.com/profiles/*/myworkshopfiles/?*browsefilter=mysubscriptions*",
        "*://steamcommunity.com/id/*/recommended*",
        "*://steamcommunity.com/profiles/*/recommended*"
      ],
      "js": [
        "browser-polyfill.min.js",
        "profile.js"
      ],
      "css": [
        "css/profile.css"
      ]
    },
    {
      "matches": [
        "*://steamcommunity.com/id/*/friends",
        "*://steamcommunity.com/id/*/friends/*",
        "*://steamcommunity.com/profiles/*/friends",
        "*://steamcommunity.com/profiles/*/friends/*"
      ],
      "js": [
        "browser-polyfill.min.js",
        "friends.js"
      ],
      "css": [
        "css/friends.css"
      ]
    }
  ],
  "web_accessible_resources": [
    "icons/tmp.png"
  ]
}