Network ad zones in seven subtle places (Marty 2026-11-13: 'do all seven'), LinkSpin zones on Marty's account, each mounted once with a small 'Network' label: ledger after the 10th sale (468x60), above the footer on every page (728x90 wide / 320x50 phone), after a purchase (300x250), My Spots under the stats (468x60), How it works between cards (300x250), contract proof (468x60), 404 (300x250). CSP admits linkspin.app (script + serve call). SEO: per-page descriptions, canonical, Open Graph + Twitter cards with a 1200x630 preview (art/og-share.png), JSON-LD on home, /sitemap.xml, robots Sitemap line, My Spots noindex. common.js?v=4, line.css?v=6. Smoke 76/76.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+12
-1
@@ -31,6 +31,8 @@ window.BL = (function () {
|
||||
if (framed) document.querySelectorAll('nav a[href="/join"], nav a[href="/my"]').forEach(a => { a.target = '_blank'; a.rel = 'noopener'; });
|
||||
}
|
||||
function renderFooter() {
|
||||
const za = document.createElement('div'); za.className = 'wrap bl-zone-foot'; document.body.appendChild(za);
|
||||
zone(za, window.innerWidth >= 760 ? 'footWide' : 'footPhone');
|
||||
const f = document.createElement('footer');
|
||||
f.className = 'bl-foot';
|
||||
f.innerHTML = '<div class="wrap"><p>Part of the Crypto Team Build Network</p>'
|
||||
@@ -75,6 +77,15 @@ window.BL = (function () {
|
||||
};
|
||||
tick(); setInterval(tick, 25000);
|
||||
}
|
||||
// network ad zones (Marty 2026-11-13): LinkSpin zones on Marty's account, one per placement, mounted once (never re-rendered,
|
||||
// so a view is counted once); a small 'Network' label so they never pass for a member's spot
|
||||
const ZONES = { ledger: 'ls-d53e5d', footWide: 'ls-fd1e0a', footPhone: 'ls-46cbab', bought: 'ls-03783e', mySpots: 'ls-50eaeb', how: 'ls-79e849', contract: 'ls-bd7632' };
|
||||
function zone(el, key) {
|
||||
if (!el || el.dataset.zoned || !ZONES[key]) return; el.dataset.zoned = '1'; el.classList.add('bl-zone');
|
||||
const lab = document.createElement('div'); lab.className = 'bl-zone-label'; lab.textContent = 'Network';
|
||||
const s = document.createElement('script'); s.async = true; s.src = 'https://linkspin.app/z.js'; s.setAttribute('data-zone', ZONES[key]);
|
||||
el.appendChild(lab); el.appendChild(s);
|
||||
}
|
||||
function withRef(href, sponsor) { if (!sponsor) return href; return href + (href.includes('?') ? '&' : '?') + 'ref=' + encodeURIComponent(sponsor); }
|
||||
return { $, esc, getConfig, fmtPol, short, framed, status, getJSON, post, renderNav, renderFooter, tile, withRef };
|
||||
return { $, esc, getConfig, fmtPol, short, framed, status, getJSON, post, renderNav, renderFooter, tile, withRef, zone };
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user