diff --git a/public/assets/my.js b/public/assets/my.js index 84e986f..d6a5dc1 100644 --- a/public/assets/my.js +++ b/public/assets/my.js @@ -2801,8 +2801,13 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str $('spOn').checked = !!d.on; $('spLinkRow').hidden = !d.on; $('spUrl').textContent = d.url || ''; $('spOpen').href = d.url || '#'; $('spNote').textContent = d.on ? (d.wallet ? 'Your page is live once a payout reaches your wallet and updates every 5 minutes.' : 'Link a wallet (Wallet tab) so your payouts can be added up on your page.') : ''; const pv = d.pro || {}; $('spProOn').hidden = !pv.pro; $('spProOff').hidden = !!pv.pro; // any $10+ package unlocks Pro (2026-11-09): no order to wait on + // owned state (Marty 2026-11-10): say plainly that the member OWNS the upgrade, since when, with a link to the Pro page + $('spProSince').textContent = pv.pro && pv.since ? 'Unlocked ' + new Date(pv.since).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' }) + '. ' : ''; + $('spProOpen').href = d.url || '#'; } async function stackPolPost(body) { const r = await fetch('/api/my/stackpol', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(body) }); const d = await r.json(); if (!r.ok) throw new Error(d.error || 'Could not save that.'); return d; } + // a purchase made in another tab or on chain while this pane was open (Marty 2026-11-10): re-check when the member comes back + document.addEventListener('visibilitychange', () => { const el = $('promo-stackpol'); if (!document.hidden && el && !el.hidden) loadStackPol(); }); async function loadStackPol() { try { const r = await fetch('/api/my/stackpol'); const d = await r.json(); if (!r.ok) { $('spNote').textContent = d.error || ''; return; } showStackPol(d); } catch (e) {} } if ($('spOn')) { $('spOn').addEventListener('change', async () => { diff --git a/public/my.html b/public/my.html index 593db4b..190c0c0 100644 --- a/public/my.html +++ b/public/my.html @@ -862,7 +862,7 @@
Pro puts your own LinkSpin Banner Spins and spin links in the ad spots of your Stack POL page, adds a QR code that opens it, and makes every blog article opened from your page use your referral links. One time, yours for good: any ad package of $10 or more unlocks it automatically. You keep every credit of that package for your ads, and your sponsor line is paid on chain as usual.
-✅ Pro is on. Your LinkSpin Banner Spins and spin links show on your page within 5 minutes of any change.
+Your page shows your own results only. Nothing on it is a promise of what anyone else will earn.
@@ -1291,7 +1291,7 @@ - +