Tutorial video: 3-minute narrated walkthrough on /guides/how-it-works (Watch how it works) + 'Watch the 3-minute walkthrough' link under the home hero buttons; server sends .mp4/.webm with byte ranges (sendMedia); chatbot fact; vas.css?v=3 (Marty 2026-11-18: tutorial explainer videos for each rebuilt site)
Note: tools/pages.mjs has drifted from the committed public/*.html (common.js ?v= tags), so these pages were edited directly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -9,7 +9,7 @@
|
||||
const core = require('./chatcore');
|
||||
const C = require('./config').get();
|
||||
|
||||
const KNOWLEDGE_DATE = '2026-11-17';
|
||||
const KNOWLEDGE_DATE = '2026-11-18';
|
||||
const weekend = require('./weekend'); // Network Weekend: +3 board days per Boost, Fri 11-27 00:00 CT to Tue 12-01 00:00 CT
|
||||
const URL_ = 'https://' + C.site;
|
||||
const SUPPORT = 'https://instantadpay.com/support';
|
||||
@@ -67,6 +67,7 @@ const FACTS = () => [
|
||||
'- BOOST: one-time $' + B.usd + ' = a ' + B.days + '-day board spot (top of the reshare board) per unit, placement only, never needed to earn, 1 to ' + B.maxQty + ' per purchase. Split: resharer ' + pct(SP.resharerBps) + ', reward pot ' + pct(SP.potBps) + ', sponsor levels ' + SP.levelBps.map(pct).join('/') + ' to the 5 nearest eligible people in the sponsor line (network sign-in + linked wallet; the ineligible are skipped and the share passes up), company the rest plus any level or resharer cut with nobody to pay. The split is immutable. The pot can only pay sign-up rewards, never more than it holds, at most $' + (R.potDailyCents / 100).toFixed(2) + ' a day across everyone.',
|
||||
'- AI AD WRITER: on the ad form at ' + URL_ + '/my, put your link in the Your link box (a page or your own LinkSpin spin link) and tap "Write my ad from my link": it reads that page and suggests 3 ads using only what the page says (no made-up claims, numbers or income promises); tapping one fills the headline and first line to edit, nothing is posted until you save; 5 writes a day per member (reset at midnight Central), the same page again within 24 hours is free.',
|
||||
'- VERIFIED VIEWS: page visible ' + C.visitSeconds + ' s, one view per visitor per ad per 24 h, never the owner\'s own, max ' + C.perIpDay + ' browsers per connection a day.',
|
||||
'- VIDEO: a 3-minute walkthrough video (posting at the source, reshares, the family tree, rewards for results, Boosts, where to start) is on ' + URL_ + '/guides/how-it-works.',
|
||||
'- GUIDES: ' + URL_ + '/guides (index), /guides/how-it-works, /guides/is-it-legit (contract, ledger, split), /guides/free-account, /guides/faq. Point people to the matching guide.',
|
||||
'- TRUST: ' + URL_ + '/ledger, ' + URL_ + '/contract, toasts of real events. Terms ' + URL_ + '/terms, Earnings Disclaimer ' + URL_ + '/disclaimer, Privacy ' + URL_ + '/privacy. Run by TrustClickz. SUPPORT: ' + SUPPORT
|
||||
].filter(Boolean).join('\n');
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body data-nav="">
|
||||
<main id="main" class="wrap" style="padding-top:40px;padding-bottom:56px">
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body data-nav="">
|
||||
<main id="main" class="wrap" style="padding-top:30px;padding-bottom:56px">
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
Binary file not shown.
@@ -115,3 +115,9 @@ footer.foot .here{color:var(--coral2);font-weight:600}
|
||||
.toast.in{transform:none;opacity:1}.toast b{color:#fff}.toast span{color:var(--mist)}
|
||||
.net-zone{margin:20px auto;text-align:center}.net-zone-label{font:500 11px var(--m);color:var(--muted);margin-bottom:4px}
|
||||
.skip{position:absolute;left:-999px}.skip:focus{left:16px;top:8px;z-index:50;background:#fff;padding:8px}
|
||||
|
||||
/* tutorial video (2026-11-18): home watch link + the player on the how-it-works guide */
|
||||
.watchlink{display:inline-flex;align-items:center;gap:8px;margin-top:16px;font-weight:600;color:var(--teal);text-decoration:underline;text-underline-offset:3px}
|
||||
.watchlink svg{color:var(--coral);flex:none}
|
||||
.howvid video{display:block;width:100%;height:auto;aspect-ratio:16/9;border-radius:14px;border:1.5px solid var(--ink);background:#0B2730;margin-top:12px}
|
||||
.howvid p{margin:10px 0 0;font-size:15px}
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body data-nav="/boost">
|
||||
<main id="main">
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body data-nav="">
|
||||
<main id="main" class="wrap" style="padding-top:40px;padding-bottom:56px;max-width:720px">
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body data-nav="">
|
||||
<main id="main" class="wrap" style="padding-top:40px;padding-bottom:56px">
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body class="legal" data-nav="">
|
||||
<main id="main" class="wrap" style="padding-top:40px;padding-bottom:56px"><p class="kicker">Updated November 16, 2026</p><h1 style="font-size:clamp(32px,5vw,46px)">Earnings Disclaimer</h1>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
<script type="application/ld+json">{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is ViralAdSource?","acceptedAnswer":{"@type":"Answer","text":"A site where every ad has a source. You post one free text ad, anyone can reshare it with their own reshare link, and every reshare grows a new branch. Your dashboard shows the family tree of your ad: who passed it on, how many steps it travelled, and the views, clicks and sign-ups each branch brought in. See How ViralAdSource works."}},{"@type":"Question","name":"Do I need a new account?","acceptedAnswer":{"@type":"Answer","text":"No. ViralAdSource is part of the network: one network account works across InstantAdPay, LinkSpin, Downline Banners, Viral Banner Blitz, ViralAdBlitz, DownlineHydra, 5xYourTeam, Stack POL and Earners Corner, with the same username and sponsor everywhere. Sign in on My ad tree."}},{"@type":"Question","name":"Is posting an ad free?","acceptedAnswer":{"@type":"Answer","text":"Yes. Posting one text ad and resharing are free for network members."}},{"@type":"Question","name":"How do I reshare an ad?","acceptedAnswer":{"@type":"Answer","text":"Open any ad and tap \"Reshare this ad\". You get your own unique reshare link for that ad, always the same one. Anyone who arrives through it and reshares too grows the branch under you."}},{"@type":"Question","name":"Do I get paid for resharing?","acceptedAnswer":{"@type":"Answer","text":"A share alone is never paid. Results through your link are: a Boost bought through your branch (the resharer share in POL, same transaction), a brand-new network member who confirms their email and passes the checks (a small POL reward from the reward pot), and verified views (ad credits for your own ad). Nothing is promised. See Rewards."}},{"@type":"Question","name":"Do I need to buy a Boost to earn?","acceptedAnswer":{"@type":"Answer","text":"No. A Boost buys placement only. A network sign-in and a linked wallet are enough to receive the resharer share and sponsor levels."}},{"@type":"Question","name":"What is a Boost?","acceptedAnswer":{"@type":"Answer","text":"A one-time $5 board spot, never a subscription. Your ad sits at the top of the reshare board for 7 days per Boost. It is paid in POL with SafePal or any other crypto wallet and split by the contract in the same transaction. See Boost."}},{"@type":"Question","name":"Where does the Boost money go?","acceptedAnswer":{"@type":"Answer","text":"20% to the resharer whose branch sold it, 10% to the reward pot, 10% to each of the 5 nearest people in the buyer's sponsor line who have a network sign-in and a linked wallet, and the rest to the company (plus any level or resharer share with nobody to pay). The split is fixed in the contract. See Is ViralAdSource legit?"}},{"@type":"Question","name":"What are ad credits?","acceptedAnswer":{"@type":"Answer","text":"Every 100 verified views through your reshare links earn 10 ad credits. They are spent automatically on your own ad in the \"Featured with credits\" places, 1 credit per verified view there. Credits are never paid out. Ad credits buy advertising, not income."}},{"@type":"Question","name":"How is a sign-up reward checked?","acceptedAnswer":{"@type":"Answer","text":"The person must be brand new to the whole network, confirm their email, not be your own device, connection or wallet, not use a throwaway email, and have a low fraud score. A daily limit applies. A sign-up that looks unusual is held for a person to look at; a rejected one never pays."}},{"@type":"Question","name":"Can I use my LinkSpin spin link in my ad?","acceptedAnswer":{"@type":"Answer","text":"Yes. On the ad form tap \"Use one of my spin links\" and pick one of your own. LinkSpin confirms it is yours on every save, and your LinkSpin Reports show which branch brought each click and sign-up."}},{"@type":"Question","name":"What is the AI ad writer?","acceptedAnswer":{"@type":"Answer","text":"On the ad form, put your link in the Your link box and tap \"Write my ad from my link\". It reads that page and suggests 3 ads using only what the page says. Tapping one fills the form to edit; nothing is posted until you save."}},{"@type":"Question","name":"I was a ViralAdSource member before. What happened to my account?","acceptedAnswer":{"@type":"Answer","text":"Old members were matched to the network by email and keep their sponsor. Sign in with your network account. Old referral links open your new member page. Old balances were not carried over."}},{"@type":"Question","name":"How do I reach a person?","acceptedAnswer":{"@type":"Answer","text":"Network support handles every network site: open network support, say it is about ViralAdSource, and include your wallet address and the transaction link if it is about a Boost or a reward."}}]}</script>
|
||||
</head>
|
||||
<body data-nav="/guides">
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body data-nav="/guides">
|
||||
<main id="main">
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body data-nav="/guides">
|
||||
<main id="main">
|
||||
@@ -23,6 +23,7 @@
|
||||
<p style="margin:14px 0 0;max-width:720px">Every ad has a source. You post one free text ad, people pass it on with their own reshare links, and you watch where it travels.</p>
|
||||
</div></section>
|
||||
<section class="band"><div class="wrap" style="max-width:860px">
|
||||
<div class="panel howvid" id="watch" style="margin-top:18px"><h2 id="watchTitle" style="font-size:24px">Watch how it works</h2><video controls playsinline preload="none" poster="/art/how-it-works.jpg?v=20261118a" width="1920" height="1080" aria-describedby="watchNote"><source src="/art/how-it-works.mp4?v=20261118a" type="video/mp4"></video><p class="muted" id="watchNote">A 3-minute walkthrough in Marty's voice: posting at the source, reshares, the family tree, how results are rewarded, Boosts, and where to start.</p></div>
|
||||
<div class="panel" style="margin-top:18px"><h2 style="font-size:24px">1. Post your ad at the source</h2><p>Sign in on <a href="/my">My ad tree</a> with your network account (InstantAdPay or LinkSpin, both free). Every member gets one free text ad: a headline of 60 characters or less, two lines of 90 characters or less, and your link. The link can be any https page or one of your own LinkSpin spin links. The AI ad writer on the form can suggest 3 ads from the page your link points to; nothing is posted until you save.</p><p>Your ad starts with its own source link. That link is step 0, the root of your ad's family tree.</p></div>
|
||||
<div class="panel" style="margin-top:18px"><h2 style="font-size:24px">2. Others reshare it with their own link</h2><p>Anyone in the network can open an ad and tap "Reshare this ad". They get one unique reshare link for that ad, and it is always the same link for them. Each reshare is a new branch on your tree.</p><p>When someone arrives through a reshare link and reshares the ad too, their link sits under the link they came through, one step further from the source. A branch is everything that grew from one first reshare (step 1). A visitor keeps the tag of the last reshare link they came through for 30 days.</p></div>
|
||||
<div class="panel" style="margin-top:18px"><h2 style="font-size:24px">3. The family tree shows the route</h2><p>On My ad tree you see each branch of your ad: who reshared it, how many steps it travelled, how many reshares grew under each link, and the views, clicks and sign-ups each branch brought in. If your link is a LinkSpin spin link, clicks through a reshare link also carry the resharer and the reshare link, so your LinkSpin Reports show which branch brought each click.</p></div>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body data-nav="/guides">
|
||||
<main id="main">
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body data-nav="/guides">
|
||||
<main id="main">
|
||||
|
||||
+2
-2
@@ -15,7 +15,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body data-nav="/">
|
||||
<main id="main">
|
||||
@@ -25,7 +25,7 @@
|
||||
<p class="kicker">Part of the Crypto Team Build Network</p>
|
||||
<h1>Every ad has a source. Watch yours travel.</h1>
|
||||
<p class="lead">Post a text ad free. Anyone can reshare it to their own people, and every reshare grows a new branch. You see the whole family tree of your ad: who passed it on, how far it went, where the views came from.</p>
|
||||
<div class="row" style="margin-top:30px"><a class="btn coral" href="/my#post">Post your first ad free</a><a class="btn" href="#how">See how it spreads</a></div>
|
||||
<div class="row" style="margin-top:30px"><a class="btn coral" href="/my#post">Post your first ad free</a><a class="btn" href="#how">See how it spreads</a></div><a class="watchlink" href="/guides/how-it-works#watch"><svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true"><circle cx="12" cy="12" r="11" fill="currentColor"/><path d="M10 8l6 4-6 4z" fill="#fff"/></svg>Watch the 3-minute walkthrough</a>
|
||||
<p class="muted" style="margin:18px 0 0;font-size:14px">One free account across the network. Sign in with InstantAdPay or LinkSpin.</p>
|
||||
</div>
|
||||
<div class="spacer" aria-hidden="true"></div>
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body data-nav="">
|
||||
<main id="main" class="wrap" style="padding-top:40px;padding-bottom:56px;max-width:720px">
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body data-nav="/ledger">
|
||||
<main id="main" class="wrap" style="padding-top:40px;padding-bottom:56px">
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body data-nav="/my">
|
||||
<main id="main" class="wrap" style="padding-top:36px;padding-bottom:56px">
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body class="legal" data-nav="">
|
||||
<main id="main" class="wrap" style="padding-top:40px;padding-bottom:56px"><p class="kicker">Updated November 16, 2026</p><h1 style="font-size:clamp(32px,5vw,46px)">Privacy</h1>
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body data-nav="">
|
||||
<main id="main" class="wrap" style="padding-top:40px;padding-bottom:56px">
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body data-nav="/rewards">
|
||||
<main id="main">
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/vas.css?v=3">
|
||||
</head>
|
||||
<body class="legal" data-nav="">
|
||||
<main id="main" class="wrap" style="padding-top:40px;padding-bottom:56px"><p class="kicker">Updated November 16, 2026</p><h1 style="font-size:clamp(32px,5vw,46px)">Terms</h1>
|
||||
|
||||
@@ -56,7 +56,7 @@ const TEST_SWITCH = C.staging && !/(^|\.)viraladsource\.com$/i.test(C.site);
|
||||
|
||||
// ---- http helpers ----
|
||||
const MIME = { '.html': 'text/html; charset=utf-8', '.css': 'text/css', '.js': 'text/javascript', '.png': 'image/png', '.jpg': 'image/jpeg', '.webp': 'image/webp',
|
||||
'.gif': 'image/gif', '.svg': 'image/svg+xml', '.ico': 'image/x-icon', '.json': 'application/json', '.txt': 'text/plain; charset=utf-8', '.xml': 'application/xml' };
|
||||
'.gif': 'image/gif', '.svg': 'image/svg+xml', '.ico': 'image/x-icon', '.json': 'application/json', '.txt': 'text/plain; charset=utf-8', '.xml': 'application/xml', '.mp4': 'video/mp4', '.webm': 'video/webm' };
|
||||
const CSP = "default-src 'self'; script-src 'self' https://cdn.jsdelivr.net https://linkspin.app https://polhunter.com; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; "
|
||||
+ "img-src 'self' data: blob: https:; connect-src 'self' https://linkspin.app https://polhunter.com https://*.walletconnect.com wss://*.walletconnect.com https://*.walletconnect.org wss://*.walletconnect.org "
|
||||
+ "https://*.reown.com wss://*.reown.com https://*.reown.org wss://*.reown.org https://*.web3modal.org https://*.drpc.org https://*.publicnode.com https://*.coinbase.com; "
|
||||
@@ -71,6 +71,19 @@ function sendFile(res, file, extra, code) {
|
||||
res.end(data);
|
||||
});
|
||||
}
|
||||
// video needs byte ranges (Safari will not play it without them); tutorial videos 2026-11-18
|
||||
function sendMedia(req, res, file) {
|
||||
fs.stat(file, (err, st) => {
|
||||
if (err || !st.isFile()) { res.writeHead(404, headers({ 'Content-Type': 'text/plain' })); return res.end('Not found'); }
|
||||
const base = { 'Content-Type': MIME[path.extname(file).toLowerCase()], 'Accept-Ranges': 'bytes', 'Cache-Control': 'public, max-age=86400' };
|
||||
const m = /^bytes=(\d*)-(\d*)$/.exec(req.headers.range || '');
|
||||
if (!m || (!m[1] && !m[2])) { res.writeHead(200, headers(Object.assign(base, { 'Content-Length': st.size }))); return fs.createReadStream(file).pipe(res); }
|
||||
let a = m[1] ? +m[1] : Math.max(0, st.size - +m[2]), b = m[1] && m[2] ? Math.min(+m[2], st.size - 1) : st.size - 1;
|
||||
if (a > b || a >= st.size) { res.writeHead(416, headers({ 'Content-Range': 'bytes */' + st.size })); return res.end(); }
|
||||
res.writeHead(206, headers(Object.assign(base, { 'Content-Range': 'bytes ' + a + '-' + b + '/' + st.size, 'Content-Length': b - a + 1 })));
|
||||
fs.createReadStream(file, { start: a, end: b }).pipe(res);
|
||||
});
|
||||
}
|
||||
function readRaw(req, max) {
|
||||
return new Promise((resolve, reject) => { const ch = []; let n = 0;
|
||||
req.on('data', c => { n += c.length; if (n > max * 8) { req.destroy(); return; } if (n <= max) ch.push(c); });
|
||||
@@ -252,6 +265,7 @@ const server = http.createServer(async (req, res) => {
|
||||
if (p === '/robots.txt') { res.writeHead(200, headers({ 'Content-Type': 'text/plain; charset=utf-8' })); return res.end(C.staging ? 'User-agent: *\nDisallow: /\n' : 'User-agent: *\nAllow: /\nDisallow: /my\nDisallow: /admin\nDisallow: /api/\nDisallow: /go/\nDisallow: /sso/\nDisallow: /s/\n\nSitemap: https://' + C.site + '/sitemap.xml\n'); }
|
||||
if (p.startsWith('/assets/') || p.startsWith('/art/') || p === '/favicon.ico') {
|
||||
const f = path.normalize(path.join(PUB, p === '/favicon.ico' ? '/art/icon-192.png' : p)); if (!f.startsWith(PUB + path.sep)) { res.writeHead(400); return res.end(); }
|
||||
if (/\.(mp4|webm)$/i.test(f)) return sendMedia(req, res, f);
|
||||
return sendFile(res, f);
|
||||
}
|
||||
// click relay: /go/<ad>?s=<share>&v=<verified token>&p=<placement> -> the ad's link (LinkSpin links carry the branch: s2 / s3)
|
||||
|
||||
Reference in New Issue
Block a user