diff --git a/public/assets/my.js b/public/assets/my.js index 472bfd5..783e284 100644 --- a/public/assets/my.js +++ b/public/assets/my.js @@ -1404,6 +1404,21 @@ })); } catch (e) {} } + // launch-day surprise (Marty, 2026-09-20): PolHunter appears at siteConfig.launchAt, not a minute before. + // The card and the menu entry flip on their own if the dashboard is already open. + let phShown = false; + async function launchReveal() { + try { + const cfg = await IAP.getConfig(); const at = cfg.launchAt ? new Date(cfg.launchAt).getTime() : 0; + if (!at || Date.now() < at) return; + const nav = $('polhunterNav'); if (nav) nav.hidden = false; + const card = $('phLaunch'); if (!card || phShown) return; phShown = true; card.hidden = false; + card.innerHTML = '
Missions across our sites. Visit the site, find your personal code on the page, type it in, and a random drip of POL lands in the wallet on this account, on chain, with a link to prove it. Three missions a day, a leaderboard with weekly POL prizes, and badge cards you can share. Your PolHunter share link puts sign-ups on your InstantAdPay line.
' + + 'Open my PolHunter board Watch the 30-second teaser'; + } catch (e) {} + } + launchReveal(); setInterval(launchReveal, 30000); // came from PolHunter (iap.return cookie): one card at the top of the Overview that sends them back async function loadReturnCard() { const card = $('phReturn'); if (!card) return; diff --git a/public/my.html b/public/my.html index b659c06..ad7b9f6 100644 --- a/public/my.html +++ b/public/my.html @@ -141,6 +141,7 @@ + PolHunter @@ -172,6 +173,7 @@