Promo tools: Mystery Box and Ad Detective images with the question built in, plus a caption and post

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-28 06:48:42 -05:00
parent 0ff79b2d60
commit 743e80d757
4 changed files with 12 additions and 1 deletions
+11
View File
@@ -53,6 +53,12 @@
<div class="card" style="margin-top:14px"><h3>Where each one works best</h3><ul style="margin:8px 0 0 18px;padding:0;line-height:1.55"><li><b>TikTok:</b> the animated one first. Upload the file itself, never a link. The hook is built into the first two seconds. Paste the caption, keep three to five hashtags, and put your PolHunter link in your bio; TikTok does not make caption links clickable. Answer comments with "link in bio".</li><li><b>Instagram Reels and Stories:</b> either spot; animated tends to travel further on Reels. The link goes in your bio, or post the spot to your Story with the link sticker, which is the one place on Instagram the link is tappable.</li><li><b>YouTube Shorts:</b> the photoreal one. Title it with PolHunter, put the link in the description and pin it as the first comment.</li><li><b>Facebook feed, Reels and groups:</b> the photoreal one for an older crowd. Feed and group posts can carry the link right in the caption. Facebook keeps your name on the link when you use the share buttons here.</li><li><b>X:</b> either spot, uploaded natively, with the caption and the link in the post.</li><li><b>Telegram and WhatsApp:</b> send the video file with your link and one line under it, or use the share buttons to send the link with the caption.</li><li><b>Two rules:</b> post one spot, then the other a few days later, never both in one post. And never promise amounts; the drips are small and random, and the caption already says free to play.</li></ul></div>
</section>
<section class="section">
<h2>Mystery Box and Ad Detective</h2>
<div class="sub">New since 27 September: finish the day's three hunts and a Mystery Box unlocks with an Ad Detective case inside. Two images with the question built in, and a caption that carries your link.</div>
<div class="banners" id="mystery"></div>
</section>
<section class="section">
<h2>Banners</h2>
<div class="sub">Right-click to save, or copy the embed code: it already has your link in it.</div>
@@ -80,6 +86,7 @@
const posts = [
{ name: 'Short post', text: 'New thing I am playing with: PolHunter. You visit a site, find your code on the page, tap it to copy, paste it on your board, and a random drip of POL lands in your wallet. On chain, with a link to prove it. ' + link },
{ name: 'Story post', text: 'I spent two minutes on a training page tonight, found a little glass coin at the bottom, tapped the code, and 0.26 POL showed up in my wallet a minute later. That is PolHunter. Small drips, real chain, no catch beyond actually visiting the site. Free to start, you just need an InstantAdPay account and a wallet. ' + link },
{ name: 'Mystery Box', text: 'Have you unlocked your Mystery Box today? Finish your three PolHunter hunts and a box opens with an Ad Detective case inside: visit a site, answer one question, get paid in POL. One answer only, so look carefully. ' + link },
{ name: 'Telegram / WhatsApp', text: '\u{1F3AF} PolHunter is live. Missions across our sites, one code to find per site, random POL drips paid straight to your wallet. The hiding place moves every day. Start here: ' + link },
{ name: 'Email swipe', subject: 'A scavenger hunt that pays in POL', text: 'Hey,\n\nQuick one. I have been testing something called PolHunter.\n\nYou pick a mission, spend a couple of minutes on the site it names, and your personal code appears somewhere on the page. Tap it to copy, paste it on your board, and a random drip of POL goes to your wallet, on Polygon, with a transaction link you can open.\n\nIt is free to start. You need an InstantAdPay account (free) and a wallet linked to it so the drips have somewhere to land.\n\nHave a look: ' + link + '\n\nNo promises about amounts. The pool is limited every day and the drips are random within the posted range. It is fun, it is real, and it takes a few minutes.\n\nTalk soon' },
];
@@ -87,6 +94,10 @@
+ '<div class="sharebtns"><button class="btn pol sm" data-copy="#t' + i + '">Copy</button>'
+ (p.subject ? '' : '<a class="btn ghost sm" target="_blank" rel="noopener" href="https://twitter.com/intent/tweet?text=' + encodeURIComponent(p.text) + '">X</a><a class="btn ghost sm" target="_blank" rel="noopener" href="https://t.me/share/url?url=' + L + '&text=' + encodeURIComponent(p.text.replace(link, '').trim()) + '">Telegram</a><a class="btn ghost sm" target="_blank" rel="noopener" href="https://www.facebook.com/sharer/sharer.php?u=' + L + '">Facebook</a><a class="btn ghost sm" target="_blank" rel="noopener" href="https://wa.me/?text=' + encodeURIComponent(p.text) + '">WhatsApp</a>')
+ '</div></div>').join('');
const mbCap = 'Have you unlocked your Mystery Box today? On PolHunter, finish your three daily hunts and a box unlocks. Inside is an Ad Detective case: visit a site, look around, answer one question, get paid in POL to your wallet. One answer only, so look carefully. ' + link;
document.getElementById('mystery').innerHTML = [['1200x630', 'Facebook, X, Telegram, link previews'], ['1080x1080', 'Instagram and square feeds']].map(([s, n]) => { const src = 'https://polhunter.com/promo/polhunter-mysterybox-' + s + '.jpg'; const code = '<a href="' + link + '" target="_blank" rel="noopener"><img src="' + src + '" width="' + s.split('x')[0] + '" height="' + s.split('x')[1] + '" alt="PolHunter Mystery Box and Ad Detective: have you unlocked yours today?"></a>';
return '<div class="banner"><div class="bhead"><b>' + s + '</b> <span class="site">' + n + '</span></div><div class="bimg"><img src="' + src + '" alt="Mystery Box ' + s + '"></div><textarea rows="3" id="mb' + s + '">' + esc(code) + '</textarea><div class="sharebtns"><button class="btn pol sm" data-copy="#mb' + s + '">Copy embed</button><a class="btn ghost sm" href="' + src + '" download>Save image</a></div></div>'; }).join('')
+ '<div class="card" style="grid-column:1/-1"><h3>Caption to post with the image</h3><textarea id="mbcap" rows="5">' + esc(mbCap) + '</textarea><div class="sharebtns"><button class="btn pol sm" data-copy="#mbcap">Copy</button><a class="btn ghost sm" target="_blank" rel="noopener" href="https://twitter.com/intent/tweet?text=' + encodeURIComponent(mbCap) + '">X</a><a class="btn ghost sm" target="_blank" rel="noopener" href="https://www.facebook.com/sharer/sharer.php?u=' + L + '">Facebook</a><a class="btn ghost sm" target="_blank" rel="noopener" href="https://t.me/share/url?url=' + L + '&text=' + encodeURIComponent(mbCap.replace(link, '').trim()) + '">Telegram</a><a class="btn ghost sm" target="_blank" rel="noopener" href="https://wa.me/?text=' + encodeURIComponent(mbCap) + '">WhatsApp</a></div><p class="small" style="margin-top:8px">Post the image, then the caption. On Facebook and X the picture comes from the image you attach, not from the link.</p></div>';
const sizes = [['728x90', 'Leaderboard'], ['468x60', 'Mobile leaderboard'], ['300x250', 'Medium rectangle'], ['250x250', 'Square'], ['125x125', 'Button'], ['160x600', 'Skyscraper'], ['1200x630', 'Social card'], ['1080x1080', 'Instagram square']];
document.getElementById('banners').innerHTML = sizes.map(([s, n]) => { const src = 'https://polhunter.com/promo/polhunter-' + s + (Number(s.split('x')[0]) >= 300 ? '.jpg' : '.png'); const code = '<a href="' + link + '" target="_blank" rel="noopener"><img src="' + src + '" width="' + s.split('x')[0] + '" height="' + s.split('x')[1] + '" alt="PolHunter: visit it, find it, get paid in POL"></a>';
return '<div class="banner"><div class="bhead"><b>' + s + '</b> <span class="site">' + n + '</span></div><div class="bimg"><img src="' + src + '" alt="' + s + '"></div><textarea rows="3" id="b' + s + '">' + esc(code) + '</textarea><div class="sharebtns"><button class="btn pol sm" data-copy="#b' + s + '">Copy embed</button><a class="btn ghost sm" href="' + src + '" download>Save image</a></div></div>'; }).join('');
Binary file not shown.

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

+1 -1
View File
@@ -195,7 +195,7 @@ const server = http.createServer(async (req, res) => {
}
}
// the coin on the code pill, fetched by mission-site visitors who hold no curtain pass
if (p === '/img/coin-sm.png' || p === '/img/coin.png' || p === '/img/og.jpg' || /^\/promo\/polhunter-\d+x\d+\.(jpg|png)$/.test(p)) return sendFile(res, path.join(PUBLIC_DIR, p.slice(1)), { 'Cache-Control': 'public, max-age=86400' });
if (p === '/img/coin-sm.png' || p === '/img/coin.png' || p === '/img/og.jpg' || /^\/promo\/polhunter-[a-z-]*\d+x\d+\.(jpg|png)$/.test(p)) return sendFile(res, path.join(PUBLIC_DIR, p.slice(1)), { 'Cache-Control': 'public, max-age=86400' });
if (curtained(req, res, u)) return;
// a member's share link: /?r=<their IAP username or id> becomes a 30-day cookie; the landing then