From f9bc04569330b97be5c861d3be190e7d591b3232 Mon Sep 17 00:00:00 2001 From: goboss Date: Tue, 5 May 2026 11:02:49 +0000 Subject: [PATCH] =?UTF-8?q?ADS.md:=20refine=20SDK=20patterns=20=E2=80=94?= =?UTF-8?q?=20popunder=20needs=20ODD=20digits=20{1,3,5,7,9}=20only;=20vast?= =?UTF-8?q?=20needs=20a-d/A-D=20only;=20verify=20content=20size=20post-gen?= =?UTF-8?q?=20(popunder=3D250844b,=20vast=3D323450b)=20=E2=80=94=20even-di?= =?UTF-8?q?git/e-h=20returns=20different=20SDK=20content=20breaking=20rend?= =?UTF-8?q?erSpot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/ADS.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/ADS.md b/docs/ADS.md index 3e1fed0..c9bec14 100644 --- a/docs/ADS.md +++ b/docs/ADS.md @@ -248,9 +248,10 @@ Migrated 2026-05-03 (videojs4 → PlayerJS+ad-bundle). URL pattern `/v-arch/`. `a5.g--o.info/.js` server tolerates **будь-який filename matching pattern per type** — content однаковий. Use unique per site щоб diluteти footprint (adblock fingerprints). -**Patterns** (verified 2026-05-05): -- **POPUNDER**: 7 chars total, `^[A-Za-z0-9]{6}[0-9]$` (last char digit) -- **VAST**: 7 chars total, `^[A-Za-z0-9]{6}[a-hA-H]$` (last char `a-h` case-ins; letters i+ → 404) +**Patterns** (verified 2026-05-05, refined post-bug): +- **POPUNDER**: 7 chars total, `^[A-Za-z0-9]{6}[13579]$` — last char must be **ODD DIGIT** only. Even digits return DIFFERENT SDK content (different ad type, will break renderSpot). +- **VAST**: 7 chars total, `^[A-Za-z0-9]{6}[abcdABCD]$` — last char must be **a-d** (8 chars). e-h returns different VAST sub-type (incompatible). +- **Verify content size** post-generation: popunder=250844b, vast=323450b. Different size → wrong SDK fetched. - **BANNER `tb_config.banner_source`**: локальний файл у `views/static/js/.js` per site, не ASG endpoint — окремий footprint layer (rename файла + update reference) **Workflow:** generate per-site filenames → verify via `curl -sI` → apply mass-replace у `ad-config.js` (popunder.sdk, vast.sdk) → rebuild bundle → update `?v=` cache-bust у layout.