Files
OpenFrontIO/src/client
Evan 86599fe15b Hide clan tag input on CrazyGames (#4341)
## Summary
Clans aren't supported on CrazyGames, so don't let players set a clan
tag there.

- Tag the clan tag input wrapper with the existing `no-crazygames` class
so Main.ts's hiding logic removes it on CrazyGames, matching how other
CrazyGames-hidden elements work.
- Guard loading the stored clan tag (`loadStoredUsername`) so a tag
saved on the main site isn't silently submitted in the handshake while
on CrazyGames — CSS hiding alone wouldn't prevent that.
- Guard storing the tag (`validateAndStore`) so a returning user's saved
tag isn't clobbered with an empty value during a CrazyGames session.

## Testing
- `npx tsc --noEmit` — clean (no UsernameInput errors)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 12:53:26 -07:00
..
2026-03-23 17:09:18 -07:00
2026-05-23 16:16:16 +01:00
2026-03-17 15:55:47 -07:00
2026-06-06 18:29:16 -07:00
2026-06-12 12:22:03 -07:00
2026-06-12 12:22:03 -07:00
2025-09-09 14:37:06 -07:00