front.js: the PolHunter mission is added at go-live (comment)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-16 09:23:17 -06:00
parent 9d1ab5e2c3
commit bb2b785fdf
+1 -1
View File
@@ -9,6 +9,6 @@
$('boardAds').innerHTML = b.length ? b.map(x => VAS.adCard(x, { place: 'board', extra: '<a class="btn sm" style="margin-top:8px" href="/a/' + x.id + '">Open and reshare</a>' })).join('')
: '<p class="muted">No ads yet. <a href="/my#post">Post the first one free</a>.</p>';
VAS.featured($('featured'), d);
// PolHunter mission embed (the network pattern; the mission is saved inactive until go-live)
// PolHunter embed (the network pattern). The PolHunter mission itself is added in polhunter.com/admin at go-live (not made yet)
const ph = document.createElement('script'); ph.async = true; ph.src = 'https://polhunter.com/embed.js'; ph.setAttribute('data-slots', '3'); ph.setAttribute('data-selector', '#how .card-ink'); document.body.appendChild(ph); // the find code hides in one of the three "How an ad spreads" steps (the ViralAdBlitz pattern)
})();