Tutorial video: 2-minute narrated walkthrough on /how (Watch how it works) + 'Watch the 2-minute walkthrough' link under the home hero buttons; server sends .mp4/.webm with byte ranges (sendMedia); chatbot fact; vbb.css?v=9 (Marty 2026-11-18: tutorial explainer videos for each rebuilt site)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -13,7 +13,7 @@
|
||||
const core = require('./chatcore');
|
||||
const C = require('./config').get();
|
||||
|
||||
const KNOWLEDGE_DATE = '2026-11-17';
|
||||
const KNOWLEDGE_DATE = '2026-11-18';
|
||||
const URL_ = 'https://' + C.site;
|
||||
const SUPPORT = 'https://instantadpay.com/support';
|
||||
const NOT_INCOME = 'You buy advertising for your own banners, not an income opportunity.';
|
||||
@@ -97,6 +97,7 @@ const FACTS = () => [
|
||||
'- PACKAGES (one-time, POL at the live price, never a subscription, overpayment returned; read from the VBBShop contract just now): ' + livePacksText() + '; banner look $' + C.lookUsd + ' per banner (border + hover teaser, on a waiting or in-loop banner, one per banner); tokens (network visits at the InstantAdPay visit rate) coming soon.',
|
||||
'- SPLIT (VBBShop constants, no owner withdraw): 30% to the member who introduced the buyer (bound once, by a keeper-signed voucher, on the first purchase; none = company), 10% to the weekly prize pot, 60% company, same transaction. Failed sends wait in the contract for their owner to claim.',
|
||||
'- LEADERBOARDS (Monday to Sunday Central): most verified visitors sent (the member\'s ?ref= link) and most different traffic sources (referring sites). Prize pot = 10% of the week\'s sales, half per board, top three ' + places + ' percent, paid in POL to the winners\' VBB wallets the following Monday at the POL price at payout; ties to whoever got there first. Never state a maximum or a cap.',
|
||||
'- VIDEO (2026-11-18): a short walkthrough video (free daily credit, posting a banner, how visitors move the loop, your link and the weekly leaderboards, packages, where to start) is on ' + URL_ + '/how.',
|
||||
'- PAGES: / (the loop), /how, /packages, /my (My Banners), /leaders, /promote, /ledger, /contract, /terms, /disclaimer, /privacy. GUIDES (point people to them): /guides (index), /guides/is-it-legit (contract, ledger, split), /guides/free-account (free daily credit, network-verified, tips), /guides/prize-boards (weekly leaderboards and prizes), /guides/faq. Sign in through InstantAdPay, LinkSpin or a wallet signature.',
|
||||
weekendFact(),
|
||||
'- NO REFUNDS: blockchain payments are final. SUPPORT for account or payment problems: network support at ' + SUPPORT + ' (InstantAdPay runs the one desk for every network site). ' + NOT_INCOME
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=8">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 60 KiB |
Binary file not shown.
@@ -208,3 +208,9 @@ footer.foot .netline b{color:#fff} footer.foot .netline .here{color:#fff;font-we
|
||||
.faq summary{cursor:pointer;font-weight:700;font-size:16px}
|
||||
.faq details p{margin:8px 0 0;max-width:760px}
|
||||
.addr{word-break:break-all}
|
||||
|
||||
/* 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:14px;font-weight:700;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
|
||||
.watchlink svg{color:var(--hot);flex:none}
|
||||
.howvid video{display:block;width:100%;height:auto;aspect-ratio:16/9;border:var(--edge);border-radius:12px;background:#14121f;margin-top:8px}
|
||||
.howvid p{margin:10px 0 0}
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=7">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=7">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap legal">
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=8">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=8">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=8">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=8">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=8">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
|
||||
+2
-1
@@ -22,11 +22,12 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=7">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
<section class="hero"><h1>How the loop works</h1><p class="lead">One public page, one shared loop. The whole community moves it with real visitors.</p></section>
|
||||
<div class="card howvid" id="watch"><h2 id="watchTitle">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 small" id="watchNote">A short walkthrough in Marty's voice: your free daily credit, posting a banner, how visitors move the loop, your link and the weekly leaderboards, packages, and where to start.</p></div>
|
||||
<ol class="how">
|
||||
<li><b>Sign in, get a credit</b>Sign in through InstantAdPay, LinkSpin or a wallet. Network members (InstantAdPay or LinkSpin) get one free post credit every day they sign in.</li>
|
||||
<li><b>Post a banner</b>A 125x125 image and a link. It waits in line, then enters the loop at the front.</li>
|
||||
|
||||
+2
-1
@@ -23,7 +23,7 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=7">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
@@ -32,6 +32,7 @@
|
||||
<h1>Every visitor pushes the loop. <em>Ride it out, earn advertising.</em></h1>
|
||||
<p class="lead">This page is the loop: member banners in 125x125 tiles. Every <b data-k="perShift">10</b> verified visitors shift it one place, and the banner at the end rides out. That banner has cycled, and its owner earns <b data-k="views">150</b> network ad views.</p>
|
||||
<div class="row"><a class="btn" href="/my">Post your banner</a><a class="btn sec" href="/how">How it works</a></div>
|
||||
<a class="watchlink" href="/how#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 2-minute walkthrough</a>
|
||||
</section>
|
||||
|
||||
<section class="meter" aria-label="Next shift">
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=7">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=7">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=8">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=7">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=7">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap legal">
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=7">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
<link rel="stylesheet" href="/assets/kit.css?v=1">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
<meta name="theme-color" content="#ffd400">
|
||||
<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="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=7">
|
||||
<link rel="stylesheet" href="/assets/vbb.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap legal">
|
||||
|
||||
@@ -46,7 +46,7 @@ const hash = s => crypto.createHmac('sha256', SECRET).update(s).digest('hex').sl
|
||||
|
||||
// ---- http helpers ----
|
||||
const MIME = { '.html': 'text/html; charset=utf-8', '.css': 'text/css', '.js': 'text/javascript', '.png': 'image/png', '.jpg': 'image/jpeg',
|
||||
'.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; "
|
||||
@@ -61,6 +61,19 @@ function sendFile(res, file, extra) {
|
||||
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); });
|
||||
@@ -266,6 +279,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('User-agent: *\nAllow: /\nDisallow: /my\nDisallow: /admin\nDisallow: /api/\nDisallow: /go/\nDisallow: /sso/\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);
|
||||
}
|
||||
if (p.startsWith('/u/')) {
|
||||
|
||||
Reference in New Issue
Block a user