Files

123 lines
10 KiB
JavaScript

// Chasing Unicorns (Marty, 2026-11-12): a promo-tool lead magnet. A fake earnings dashboard where every button, tile and popup
// is one of the classic scam warning signs; clicking one reveals it and scores the visitor's "scam radar", and the ending
// contrasts the unicorn with how InstantAdPay works. Shared as /chasing-unicorns?ref=<username> (the viral ?ref= link sets the
// sponsor cookie server-side). Nothing here touches an account: it is all made up on the page.
(function () {
var $ = function (id) { return document.getElementById(id); };
var usd = function (n) { return '$' + n.toLocaleString('en-US', { minimumFractionDigits: 2, maximumFractionDigits: 2 }); };
var calm = window.matchMedia && window.matchMedia('(prefers-reduced-motion: reduce)').matches;
var FLAGS = {
daily: { name: 'A fixed daily return', short: 'Guaranteed % a day on your deposit',
h: 'Nobody pays a fixed 3% a day.', p: 'That is over 4 million percent a year, compounded. No business earns that. The only way to pay a fixed daily return is with the next person\'s deposit.',
tell: 'Your "interest" is a line of code adding to a number. Watch it: it goes up even though nothing happened.', do: 'Ask what the product is and who buys it. If the answer is "the return", walk away.' },
withdraw: { name: 'Withdrawals that never arrive', short: 'Always "processing"',
h: 'Withdrawal processing... forever.', p: 'Deposits are instant. Withdrawals need "verification", a "maintenance window", a new minimum. That is how a site with no money buys time.',
tell: 'The balance on screen is not money. Money is what lands in your own wallet or bank.', do: 'Withdraw a small amount early. If $20 is a hostage negotiation, you have your answer.' },
vip: { name: 'Pay to unlock your own money', short: 'Upgrade or "release fee" first',
h: 'Pay $199 to unlock your own $25,000?', p: 'The "upgrade", the "tax", the "release fee", a "small miner fee" or "gas fee". It always sounds minor next to the balance waiting for you. It is the oldest trick: the balance is bait, and the fee is the real product. Some sites are free right up until the countdown ends, then everybody gets the fee at once.',
tell: 'If the money were there, they would take the fee out of it. They want new money from you instead.', do: 'Never pay to withdraw. A real balance pays its own fees.' },
team: { name: 'The product is recruiting', short: 'Paid mainly for sign-ups',
h: '+$500 per sign-up. Paid with what?', p: 'If you earn for bringing people in and nobody is buying anything real, the money for your bonus comes from the people you brought in.',
tell: 'A team bonus with no product is your friends\' deposits with your name on them.', do: 'Ask: if nobody new joined tomorrow, where would the money come from?' },
clock: { name: 'The clock is always ticking', short: 'Countdowns and "spots left"',
h: 'The countdown resets. It always does.', p: 'Urgency is there to stop you thinking and to get you recruiting before you check anything. Watch the timer: when it hits zero, it starts over.',
tell: 'A good opportunity is still there after you sleep on it. A bad one needs you not to.', do: 'Wait 48 hours and search the name plus "withdrawal" and "scam" first.' },
coin: { name: 'Paid in their own coin', short: 'Tokens you cannot sell anywhere real',
h: '48,000 UYP, worth whatever they say.', p: 'A token you can only "sell" back on their own site is Monopoly money with better branding. They print it, they price it, they decide when you can sell.',
tell: '"Soon x100" is a promise from the people holding all the supply.', do: 'Check whether it trades anywhere real, with real volume, and who holds most of it.' },
keys: { name: 'Anything that touches your keys', short: '"Connect wallet to claim"',
h: 'Connect wallet to claim? That is the scam.', p: 'Claim pages ask you to sign an approval that lets them spend your tokens. Some ask for your seed phrase outright. Nobody legit ever needs either.',
tell: 'One signature can empty a wallet. The "airdrop" is the bait.', do: 'Never type a seed phrase into a website. Read what a signature approves before you sign it.' },
proof: { name: 'Fake social proof', short: 'People "cashing out" every few seconds',
h: '"Dave from Denver just withdrew $19,350."', p: 'These popups are a few lines of code picking a random name and a random amount. They are on scam sites because they work on all of us.',
tell: 'A popup is not a receipt. A transaction you can look up is.', do: 'Ask for a payment you can verify yourself, on a public ledger, not a screenshot.' }
};
var ORDER = ['daily', 'withdraw', 'vip', 'team', 'clock', 'coin', 'keys', 'proof'];
var seen = [];
// the visitor's sponsor rides the share link (?ref=), so the join button and the share line keep it
var ref = (new URLSearchParams(location.search).get('ref') || '').toLowerCase().replace(/[^a-z0-9_]/g, '').slice(0, 20);
// where the page link was posted (?src=massifly, ?src=leasedadspace...) rides into the join, so a sign-up says which channel
var chan = (new URLSearchParams(location.search).get('src') || '').toLowerCase().replace(/[^a-z0-9_.-]/g, '').slice(0, 18);
var srcTag = chan ? 'unicorns-' + chan : 'chasing-unicorns';
$('joinBtn').href = '/join?src=' + srcTag;
if (ref) {
$('joinBtn').href = '/join/' + ref + '?src=' + srcTag;
$('ledgerBtn').href = '/ledger?ref=' + ref;
$('shareLink').textContent = 'https://instantadpay.com/chasing-unicorns?ref=' + ref;
}
// radar
var dots = $('dots'); ORDER.forEach(function () { dots.appendChild(document.createElement('i')); });
function renderRadar() {
[].forEach.call(dots.children, function (d, i) { d.className = i < seen.length ? 'on' : ''; });
$('score').textContent = seen.length + ' of 8';
$('endH').textContent = seen.length === 8 ? 'Scam radar: 8 of 8. You are a unicorn hunter.' : 'Your scam radar: ' + seen.length + ' of 8 red flags spotted';
$('flags').innerHTML = ORDER.map(function (k) { var f = FLAGS[k]; return '<li class="' + (seen.indexOf(k) >= 0 ? 'on' : '') + '"><b>' + f.name + '</b><span class="fine">' + f.short + '</span></li>'; }).join('');
document.querySelectorAll('[data-flag]').forEach(function (b) { b.classList.toggle('done', seen.indexOf(b.getAttribute('data-flag')) >= 0); });
if (seen.length >= 3) $('after').hidden = false;
}
renderRadar();
// the reveal card
var lastFocus = null;
function reveal(k) {
var f = FLAGS[k]; if (!f) return;
if (seen.indexOf(k) < 0) seen.push(k);
renderRadar();
$('cardK').textContent = 'Red flag ' + seen.length + ' of 8 spotted: ' + f.name;
$('cardH').textContent = f.h; $('cardP').textContent = f.p;
$('cardTell').textContent = f.tell; $('cardDo').textContent = 'What to do: ' + f.do;
$('cardNext').textContent = seen.length === 8 ? 'See my result' : 'Keep hunting';
lastFocus = document.activeElement; $('veil').hidden = false; $('cardNext').focus();
}
function closeCard(toEnd) {
$('veil').hidden = true;
if (toEnd || seen.length === 8) $('end').scrollIntoView({ behavior: calm ? 'auto' : 'smooth', block: 'start' });
else if (lastFocus) lastFocus.focus();
}
document.querySelectorAll('[data-flag]').forEach(function (b) { b.addEventListener('click', function () { reveal(b.getAttribute('data-flag')); }); });
$('cardNext').addEventListener('click', function () { closeCard(false); });
$('cardEnd').addEventListener('click', function () { closeCard(true); });
$('veil').addEventListener('click', function (e) { if (e.target === $('veil')) closeCard(false); });
document.addEventListener('keydown', function (e) { if (e.key === 'Escape' && !$('veil').hidden) closeCard(false); });
$('showAll').addEventListener('click', function () { ORDER.forEach(function (k) { if (seen.indexOf(k) < 0) seen.push(k); }); renderRadar(); $('after').scrollIntoView({ behavior: calm ? 'auto' : 'smooth', block: 'start' }); });
$('copyShare').addEventListener('click', function () {
var t = $('shareLink').textContent, b = $('copyShare');
navigator.clipboard.writeText(t).then(function () { b.textContent = 'Copied'; }, function () { var r = document.createRange(); r.selectNodeContents($('shareLink')); var s = getSelection(); s.removeAllRanges(); s.addRange(r); b.textContent = 'Press Ctrl+C'; });
});
// the ticking balance: 3% a day of $25,000, out of thin air
var START = 25000, perSec = START * 0.03 / 86400, t0 = performance.now(), midnight = new Date(); midnight.setHours(0, 0, 0, 0);
function tick() {
var gain = (performance.now() - t0) / 1000 * perSec;
$('bal').textContent = usd(START + gain);
$('rate').textContent = '+3.00% daily compound interest · +' + usd(gain) + ' since you opened this page';
$('today').textContent = usd((Date.now() - midnight.getTime()) / 1000 * perSec);
}
tick(); setInterval(tick, calm ? 1000 : 100);
// the countdown that starts over at zero, and spots that never run out
var LEN = 600, end = Date.now() + LEN * 1000, spots = 3;
setInterval(function () {
var left = Math.round((end - Date.now()) / 1000);
if (left <= 0) { end = Date.now() + LEN * 1000; left = LEN; spots = 3; }
else if (left % 89 === 0 && spots > 1) spots--;
$('clock').textContent = String(Math.floor(left / 60)).padStart(2, '0') + ':' + String(left % 60).padStart(2, '0');
$('spots').textContent = 'Only ' + spots + ' VIP spot' + (spots === 1 ? '' : 's') + ' left';
}, 1000);
// fake "cash out" popups every few seconds: random made-up names and amounts
var who = ['Jessica from Ohio', 'Mike in Texas', 'Priya from London', 'Carlos in Miami', 'Ahmed from Dubai', 'Linda in Phoenix', 'Tom from Sydney', 'Grace in Toronto', 'Dave from Denver', 'Nina in Berlin', 'Kwame from Accra', 'Rosa in Manila'];
var what = ['just withdrew', 'just cashed out', 'just earned', 'just got a team bonus of'];
function pop() {
var n = who[Math.floor(Math.random() * who.length)], amt = Math.round((Math.random() * 40000 + 1500) / 10) * 10;
$('pAv').textContent = n.charAt(0);
$('pT').innerHTML = n + ' ' + what[Math.floor(Math.random() * what.length)] + ' <b>' + usd(amt) + '</b> ' + (1 + Math.floor(Math.random() * 9)) + ' min ago';
$('proof').classList.add('on');
setTimeout(function () { $('proof').classList.remove('on'); }, 4500);
}
setTimeout(function () { pop(); setInterval(pop, 8000); }, 3000);
})();