Skip to content

Add CS2Tracker Extension#213

Open
MuhammedResulBilkil wants to merge 1 commit into
SteamClientHomebrew:mainfrom
MuhammedResulBilkil:add-cs2tracker-extension
Open

Add CS2Tracker Extension#213
MuhammedResulBilkil wants to merge 1 commit into
SteamClientHomebrew:mainfrom
MuhammedResulBilkil:add-cs2tracker-extension

Conversation

@MuhammedResulBilkil

@MuhammedResulBilkil MuhammedResulBilkil commented Jul 25, 2026

Copy link
Copy Markdown

CS2Tracker Extension

Adds a CS2Tracker button to Steam community profile pages and a small badge to each row of the friends, pending-invite and recently-played-with lists. Clicking through opens cs2tracker.gg/stats/{steamid64} for that player.

Each badge and button reads its own player's Steam ID from the page it sits on, so a friend-row badge opens that friend's stats rather than the profile owner's. Three toggles in the settings panel control the profile button, the friend-list badges, and whether links open in Steam's browser or the system one.

Repository: https://github.com/MuhammedResulBilkil/cs2tracker-extension
Pinned at 9be073a, which is the v1.0.0 release.

Profile button profile button
Friend list badge friend list
Settings settings

How it differs from the plugins already on the store

leetify-extension and csstats-extension link out to Leetify and CSStats respectively; this one links to CS2Tracker, a different site. The profile button is deliberately styled to match the CSStats button's height, ground colour and wordmark treatment so that the three sit together as a row rather than competing visually — the screenshot above shows all three installed side by side.

The friend-list badges are the part I haven't seen elsewhere: a per-row link on the friends, pending-invite and recently-played-with lists, each resolving that row's own account.

There is also #209 (Profile Button Config) open in this queue, which lets a user define arbitrary profile buttons from a URL template. I don't think the two make each other redundant, and I'd rather say why than leave a reviewer to wonder: PBC is a general tool for profile pages, configured by the user; this is a zero-configuration plugin for one site that also covers the friends lists, which a profile-page button cannot reach. Someone who wants a button for an arbitrary site is better served by PBC. If the maintainers see it differently I'd genuinely rather hear it now than after a merge.

Task Checklist

Developer

  • I am the original author or an authorized maintainer of this plugin.
  • I have complied with all license requirements for the libraries used, including providing appropriate notices where necessary.
  • My plugin is fully open source and does not depend on any external paid services, except for widely trusted and well-known platforms. Additionally, neither I nor anyone associated with me profits from any such services.

Plugin Functionality

  • I have tested the plugin on both the Stable and Beta Steam update channels.
  • My plugin is unique, or provides additional or alternative functionality to plugins already on the store.

Backend Configuration

  • Yes: I use a standard Millennium lua backend in my plugin. — "backendType": "lua" in plugin.json. It requires logger, millennium and json, all of which Millennium preloads, and nothing else.
  • No: I use custom binaries that or rely on other FOSS projects that aren't written directly using Millennium's lua backend. — no binaries, no bundled executables, no third-party runtime dependencies. The backend is a single 4.9 KB main.lua.

Community Contribution

  • I have tested and left feedback on two other plugin pull requests.
  • I have added links to those feedback comments in this PR.

Not yet — I'll pick two open submissions up and comment, and link them here when I have. Flagging it rather than leaving the boxes silently unticked.


Testing Instructions

Install, restart Steam, enable under Millennium → Plugins, then:

  1. Open any Steam community profile — a CS2TRACKER.GG button should appear in the right-hand column, below the persona block. Click it; the stats page should be for that player.
  2. Open a /id/{vanity} profile as well. The Steam ID isn't in that URL, so this exercises a different resolution path.
  3. Open your friends list — each row should carry a small CS2Tracker badge. Click badges on three different rows and confirm each opens that friend's stats rather than the page owner's.
  4. Type in the friends search box and clear it a few times; newly rendered rows should still get badges.
  5. In the settings panel, switch Show on friend lists off, then reopen the friends page — the badges should be gone. Settings are read once per page load by design, so an already-open page keeps its old state until reloaded.
  6. Turn Open in external browser on, reopen a profile, and click the button — it should open your system browser rather than Steam's.
  7. Disable the plugin and reopen a profile — no button, no badges, no leftover <style> element.

Network behaviour, if you want to check it: the plugin makes exactly one request of its own, to steamcommunity.com for the current page's ?xml=1 view, and only when the profile's Steam ID isn't already available from the URL or the page's own globals. Everything else is a link the user clicks.

  • Verified by a third party on Steam Client Stable.
  • Verified by a third party on Steam Client Beta.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant