Network ad zones (punch list, Marty 2026-11-17): LinkSpin zones on Marty's account made through LinkSpin's admin zone route (footer wide 728x90, footer phone 320x50, ledger 468x60, not-found 300x250), the ViralAdBlitz pattern; common.js ?v=20261117z
Zones: ls-e5d152 / ls-1a1b1f / ls-20fdd0 / 404 ls-a8a737. Also GET /api/admin/member-lookup (read-only) for the network hub's admin lookup, like ViralAdBlitz. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -118,3 +118,23 @@ window.FX = (function () {
|
||||
if (/^\/(draftday|admin)/.test(location.pathname)) return;
|
||||
var s = document.createElement('script'); s.src = '/assets/netweekend.js?v=20261117'; s.defer = true; s.setAttribute('data-site', 'fivex'); document.head.appendChild(s);
|
||||
})();
|
||||
|
||||
// network ad zones (2026-11-17, the ViralAdBlitz pattern): LinkSpin zones on Marty's LinkSpin account for 5xyourteam.com, made through
|
||||
// LinkSpin's named admin zone route: footer wide 728x90 (ls-e5d152), footer phone 320x50 (ls-1a1b1f), ledger 468x60
|
||||
// (ls-20fdd0); the not-found page carries ls-a8a737. Admin pages get none.
|
||||
(function () {
|
||||
const ZONES = { footWide: 'ls-e5d152', footPhone: 'ls-1a1b1f', ledger: 'ls-20fdd0' };
|
||||
function zone(el, id) {
|
||||
if (!el || el.dataset.zoned) return; el.dataset.zoned = '1'; el.className = 'net-zone'; el.style.cssText = 'margin:18px auto;text-align:center;max-width:100%';
|
||||
const lab = document.createElement('div'); lab.textContent = 'Network'; lab.style.cssText = 'font-size:11px;letter-spacing:1px;opacity:.7;margin-bottom:4px';
|
||||
const s = document.createElement('script'); s.async = true; s.src = 'https://linkspin.app/z.js'; s.setAttribute('data-zone', id);
|
||||
el.appendChild(lab); el.appendChild(s);
|
||||
}
|
||||
function run() {
|
||||
const p = location.pathname.replace(/\/$/, '') || '/';
|
||||
if (p === '/admin' || document.body.dataset.noZones) return;
|
||||
if (p === '/ledger') { const t = document.getElementById('rows'); const sec = t && t.closest('section'); if (sec && sec.parentNode) { const d = document.createElement('div'); sec.parentNode.insertBefore(d, sec.nextSibling); zone(d, ZONES.ledger); } }
|
||||
const za = document.createElement('div'); document.body.appendChild(za); zone(za, window.innerWidth >= 760 ? ZONES.footWide : ZONES.footPhone);
|
||||
}
|
||||
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', run); else run();
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user