diff --git a/chatbot.js b/chatbot.js index 2ff90c4..d30b526 100644 --- a/chatbot.js +++ b/chatbot.js @@ -72,7 +72,7 @@ const CANNED = [ a: 'Use SafePal or any other crypto wallet that works on Polygon. Boosts are priced in dollars and paid in POL, Polygon\'s coin, at the live price the contract reads when you buy (anything you send above the price comes back in the same transaction). Keep a little extra POL for the network fee. Never share your recovery phrase; nobody from the network will ask for it.' }, { id: 'safe', title: 'Is it safe? Is it a scheme?', q: ['Is this a pyramid scheme?', 'Is ViralAdBlitz legit?', 'Who holds the money?'], tags: ['safe', 'legit', 'pyramid', 'contract'], re: /(pyramid|ponzi|scam|scheme|legit|safe|trust|rug|who holds)/i, - a: 'What you buy is advertising for your own text ad: guaranteed views, a ticker spot and member-page places. The split is fixed in the contract on Polygon: no owner withdraw, nothing held, every share paid in the buyer\'s own transaction. Check every Boost in the live ledger (' + URL_ + '/ledger) and the contract at ' + URL_ + '/contract. Nobody earns unless real Boosts are bought in their line. ' + NOT_INCOME }, + a: 'What you buy is advertising for your own text ad: guaranteed views, a ticker spot and member-page places. The split is fixed in the contract on Polygon: no owner withdraw, nothing held, every share paid in the buyer\'s own transaction. Check every Boost in the live ledger (' + URL_ + '/ledger) and the contract at ' + URL_ + '/contract; the guide ' + URL_ + '/guides/is-it-legit walks through it. Nobody earns unless real Boosts are bought in their line. ' + NOT_INCOME }, { id: 'rules', title: 'Ad rules', q: ['What ads are not allowed?', 'Why was my ad removed?'], tags: ['rules', 'not allowed', 'removed'], re: /(not allowed|allowed|prohibited|rules|removed|banned|adult|malware)/i, a: 'Your ad and link must be yours or ones you have the right to use, and the link must lead to a lawful page that loads. No adult content, malware, phishing, deceptive offers, hate, or anything illegal where you or your visitors live, and no link shorteners. An ad that breaks the rules can be paused or removed. Full terms: ' + URL_ + '/terms' } @@ -85,6 +85,9 @@ const FAQ = [ { id: 'f-nas', title: 'Network Ad Space finishes a Boost', source: 'faq', tags: ['network ad space', 'nas', 'delivery', '30 days'], questions: ['What happens if my Boost is not delivered?', 'What is Network Ad Space?'], answer: 'If a Boost\'s ' + B.views + ' views are not all delivered on ViralAdBlitz within ' + C.deliverDays + ' days, the rest are delivered through Network Ad Space, a network ad site, as a text ad with your same headline, lines and link, for exactly the views still owed. Those views count toward the same guarantee.' }, + { id: 'f-guides', title: 'ViralAdBlitz guides and FAQ page', source: 'faq', tags: ['guides', 'faq', 'help', 'how to', 'legit', 'free account'], + questions: ['Is there a guide for ViralAdBlitz?', 'Where is the FAQ?', 'How do I get the most from my free account?', 'Is there a page that explains if it is legit?'], + answer: 'The ViralAdBlitz guides are at ' + URL_ + '/guides: How ViralAdBlitz works (' + URL_ + '/guides/how-it-works), Is ViralAdBlitz legit? with the contract, ledger and split (' + URL_ + '/guides/is-it-legit), Getting the most from your free account (' + URL_ + '/guides/free-account) and the FAQ (' + URL_ + '/guides/faq).' }, { id: 'f-old-links', title: 'Old ViralAdBlitz links', source: 'faq', tags: ['old link', 'old account', 'splash page'], questions: ['Does my old ViralAdBlitz link still work?', 'Where is my old account?'], answer: 'Old ViralAdBlitz referral links now open the member\'s new page at ' + URL_ + '/their-network-username. Old accounts and balances were not carried over; members were matched to the network by email.' } @@ -100,6 +103,7 @@ const FACTS = () => [ '- SPLIT (VABShop contract constants, no setter): ' + SP.levelPct + '% to each of ' + SP.levels + ' sponsor levels + ' + SP.companyPct + '% company, in the same transaction. Only Boost buyers (one Boost ever is enough) receive a level share; a non-buyer is passed over and the share goes up to the next buyer; the contract looks up to ' + SP.maxDepth + ' places; an unclaimed share goes to the company. No owner withdraw, no balance held; an undeliverable share waits in the contract for that wallet to claim.', '- SPONSOR LINE: from the network hub (same sponsor as InstantAdPay/LinkSpin). On the first Boost the keeper signs the line and the contract records it link by link; a recorded link never changes. People without a wallet in the network are left out.', '- TRUST: ' + URL_ + '/ledger (every Boost, every level paid, who was passed over, delivery), ' + URL_ + '/contract (live contract facts), toasts of real events, a Telegram card per Boost. Terms ' + URL_ + '/terms, Earnings Disclaimer ' + URL_ + '/disclaimer, Privacy ' + URL_ + '/privacy. Run by TrustClickz.', + '- GUIDES (2026-11-17): ' + URL_ + '/guides (index), /guides/how-it-works, /guides/is-it-legit (contract address, Polygonscan, split, how to check), /guides/free-account (writing, tracking and sharing the free ad), /guides/faq. Point people to the matching guide when it helps.', '- PROMO: ' + URL_ + '/promote (links, creatives in every common size, copy, all with the member\'s network username). Old ViralAdBlitz referral links open the member\'s new page; old balances were not carried.', '- NO REFUNDS: blockchain payments are final; views left on a removed ad\'s Boosts are not delivered or refunded. SUPPORT for account or purchase problems: network support at ' + SUPPORT + ' (InstantAdPay runs the one desk for every network site).', weekendFact() diff --git a/public/assets/common.js b/public/assets/common.js index f8a8e85..55374bd 100644 --- a/public/assets/common.js +++ b/public/assets/common.js @@ -33,7 +33,7 @@ window.VAB = (function () { const CHECK = ''; function renderNav(active) { const nav = document.createElement('nav'); nav.className = 'top'; - const links = [['/#board', 'Top ads'], ['/how', 'How it works'], ['/my', 'My page'], ['/boost', 'Boost'], ['/ledger', 'Ledger'], ['/contract', 'Contract'], ['/promote', 'Promote']]; + const links = [['/#board', 'Top ads'], ['/how', 'How it works'], ['/my', 'My page'], ['/boost', 'Boost'], ['/ledger', 'Ledger'], ['/contract', 'Contract'], ['/promote', 'Promote'], ['/guides', 'Guides']]; nav.innerHTML = '
' + MARK + 'VIRALADBLITZ' + 'Post my free text ad
'; @@ -117,7 +117,7 @@ window.VAB = (function () { const f = document.createElement('footer'); f.className = 'foot'; f.innerHTML = '

ViralAdBlitz, the network\'s text ad wire

' + '

A Boost buys advertising, not income. Nothing is promised.

' - + '

Front page · How it works · My page · Boost · Promote

' + + '

Front page · How it works · My page · Boost · Promote · Guides · FAQ

' + '' + '

© 2026 TrustClickz

'; document.body.appendChild(f); diff --git a/public/assets/guides.js b/public/assets/guides.js new file mode 100644 index 0000000..de8f530 --- /dev/null +++ b/public/assets/guides.js @@ -0,0 +1,2 @@ +// Guides pages (/guides, /guides/*): nav, the ticker (its views count like any page), footer. +(function () { VAB.renderNav('/guides'); VAB.renderFooter(); VAB.wire('other').catch(() => {}); })(); diff --git a/public/guide-faq.html b/public/guide-faq.html new file mode 100644 index 0000000..ab8e5f5 --- /dev/null +++ b/public/guide-faq.html @@ -0,0 +1,65 @@ + + + + +ViralAdBlitz FAQ | ViralAdBlitz + + + + + + + + + + + + + + + + + + + + + + + +
+

Guide

ViralAdBlitz FAQ

Short answers. The site assistant (bottom right) answers the same way.

+
+
+
Is ViralAdBlitz really free?

Yes. Every network member (an InstantAdPay or LinkSpin account) gets one free text ad: a headline, two lines and a link. Posting it and editing it cost nothing. A Boost is optional.

+
How do I sign in?

On My page (viraladblitz.com/my) through your InstantAdPay or LinkSpin account, or with your wallet. Signing in with a wallet is a free signature that cannot move funds. Not a member yet? Join InstantAdPay free at instantadpay.com/join, then sign in here through it.

+
Whose ads show on my page?

Your own ad on top. Then the ads of the first five people above you in your sponsor line who have a live ad, labelled LEVEL 1 to LEVEL 5. If someone above you has no live ad, the next person up takes the place (the site looks up to 20 places). Then two Boosted places.

+
How far does my ad spread?

Five levels down. Your ad shows on the page of everyone you bring in, of everyone they bring in, and so on, as long as you are one of the first five people above them with a live ad.

+
What counts as a view?

A real browser keeping a ViralAdBlitz page open and visible for 6 seconds, once per visitor per ad in 24 hours. Your own views never count, and bots, early sends and more than 3 browsers from one connection in a day are refused.

+
What does a $5 Boost buy?

500 guaranteed network views, a gold star on the live ticker while they are delivered and a turn in the Boosted places on member pages. You can buy 1 to 10 at a time. It is paid once in POL on Polygon and never renews. Views not delivered on ViralAdBlitz within 30 days are finished through Network Ad Space.

+
Who is paid when someone boosts?

The contract pays 10% to each of five people up the buyer's sponsor line and 50% to the company, in the same transaction. Only people who have bought a Boost receive a share; anyone who has not is passed over and the share goes to the next person up who has, up to 20 places. A share nobody qualifies for goes to the company. A Boost buys advertising, not income.

+
How do I withdraw?

There is nothing to withdraw. Each share goes straight to the person's own wallet inside the buyer's transaction. If a payment cannot be delivered, it waits in the contract for that wallet to claim, and nobody else can take it.

+
Who is my sponsor, and can it change?

Your sponsor line comes from the network hub: the same sponsor you have on InstantAdPay, LinkSpin and the other network sites. On your first Boost the contract records your line, and after that it never changes.

+
Which wallet do I need?

SafePal or any other crypto wallet that works on Polygon. Boosts are priced in dollars and paid in POL at the live price; keep a little extra POL for the network fee. Never share your recovery phrase.

+
Can I get a refund?

No. Boosts are paid on Polygon and are final once confirmed. If your ad is removed for breaking the terms, the views left on its Boosts are not delivered or refunded.

+
What ads are not allowed?

No adult content, malware, phishing, deceptive offers, hate, anything illegal where you or your visitors live, and no link shorteners. The link must lead to a lawful page that loads. Full rules are in the Terms.

+
Does my old ViralAdBlitz link still work?

Yes. Old referral links open the member's new page at viraladblitz.com/their-network-username. Old accounts and balances were not carried over; members were matched to the network by email.

+
How do I get help?

Network support at instantadpay.com/support handles every network site. Say it is about ViralAdBlitz, and include your wallet address and the transaction link if it is about a Boost.

+
+
+
+

More guides

+
+

How ViralAdBlitz works

Your free text ad, the five levels it spreads through, what counts as a view and what a Boost adds.

+

Is ViralAdBlitz legit?

The contract on Polygon, the live ledger and the exact split of every $5 Boost, and how to check it yourself.

+

Getting the most from your free account

Write a good free ad, track its clicks, share your page and let your team carry it. No Boost needed.

+

All guides

The full list of ViralAdBlitz guides.

+
+
+

A Boost buys advertising, not income. Nothing is promised.

+ +
+ + + + + diff --git a/public/guide-free.html b/public/guide-free.html new file mode 100644 index 0000000..fe28c45 --- /dev/null +++ b/public/guide-free.html @@ -0,0 +1,57 @@ + + + + +Getting the most from your free account | ViralAdBlitz + + + + + + + + + + + + + + + + + + + + + + +
+

Guide

Getting the most from your free account

Your text ad is free and stays free. Here is how to make it work harder without spending anything.

+

Get in

Text ads are free for network members: anyone with an InstantAdPay or LinkSpin account. Not a member yet? Join InstantAdPay free, then sign in on My page through it. You can also sign in with SafePal or any other crypto wallet; that is a free signature that cannot move funds.

+

Write an ad people click

If you see Write my ad from my link on the ad form, put your link in and tap it: it reads that page and suggests 3 ads using only what the page says. Tapping one fills the form for you to edit; nothing is posted until you save. You get 5 writes a day.

+

Track your clicks

Leave Track with LinkSpin switched on (it is on by default). Your link then goes out as a tracked link on your own LinkSpin account and My page shows its clicks. Visitors still land on your page.

Promote more than one page? Tap Use one of my spin links and pick one of your own LinkSpin spin links. Each click then goes to the next page on that spin link, so one free ad sends traffic to all of them.

+

Share your page

Your page is viraladblitz.com/your-name. Visitors who join from it join free under you, and from then on your ad shows on their page. As they bring people in, it shows on those pages too, five levels down.

The promo kit has your links, creatives in every common size and copy you can paste anywhere, all carrying your network username.

+

Watch what works

Top ads this week on the front page ranks ads by verified clicks. Look at what the top ads say and how they say it.

+

When a Boost makes sense

You never need one. A Boost is a one-time $5 purchase that adds 500 guaranteed views for the ad you already have. Buying one also makes you eligible for level shares when people in your team boost. A Boost buys advertising, not income. See the Boost page and where the $5 goes.

+
+

More guides

+
+

How ViralAdBlitz works

Your free text ad, the five levels it spreads through, what counts as a view and what a Boost adds.

+

Is ViralAdBlitz legit?

The contract on Polygon, the live ledger and the exact split of every $5 Boost, and how to check it yourself.

+

ViralAdBlitz FAQ

Short answers to the questions members ask most.

+

All guides

The full list of ViralAdBlitz guides.

+
+
+

A Boost buys advertising, not income. Nothing is promised.

+ +
+ + + + + diff --git a/public/guide-how.html b/public/guide-how.html new file mode 100644 index 0000000..14f877f --- /dev/null +++ b/public/guide-how.html @@ -0,0 +1,53 @@ + + + + +How ViralAdBlitz works | ViralAdBlitz + + + + + + + + + + + + + + + + + + + + + + +
+

Guide

How ViralAdBlitz works

One free text ad. It shows on your own page and on the pages of the people you bring in, five levels down.

+

1. You post one free text ad

Every network member (anyone with an InstantAdPay or LinkSpin account) gets one free text ad: a headline, one or two short lines and your link. You post it on My page and you can edit it any time. Posting and editing cost nothing.

+

2. Your page shows your ad and your upline's

Your page lives at viraladblitz.com/your-name. It shows your ad on top, then the ads of the first five people above you in your sponsor line who have a live ad, labelled LEVEL 1 to LEVEL 5. Then come two Boosted places and a button for visitors to join free under you.

If someone above you has no live ad, the next person up takes the place. The site looks up to 20 places.

+

3. Your ad spreads five levels down

Because every page shows the five people above its owner, your ad shows on the page of everyone you bring in, everyone they bring in, and so on to level 5, as long as you are one of the first five people above them with a live ad.

+

4. Only real views count

A view counts when a real browser keeps a ViralAdBlitz page open and visible for 6 seconds. It counts once per visitor per ad in 24 hours, and the server decides which ads the page showed. Your own views never count, and bots, early sends and more than 3 browsers from one connection in a day are refused.

Clicks work the same way: a verified click counts once per visitor per ad per 24 hours, never your own. Top ads this week on the front page ranks ads by verified clicks.

+

5. A Boost is optional

A Boost is a one-time $5 purchase for your text ad: 500 guaranteed network views, a gold star on the live ticker while they are delivered, and a turn in the two Boosted places on member pages. You can buy 1 to 10 at a time, and each adds its own 500 views. It is paid in POL on Polygon at the live price and never renews.

Views not delivered on ViralAdBlitz within 30 days are finished through Network Ad Space, a network ad site, as a text ad with your same headline, lines and link, for exactly the views still owed. More on the Boost page.

+

6. Where the $5 goes

The contract splits every Boost in the same transaction: 10% to each of five people up the buyer's sponsor line who have bought a Boost themselves, and 50% to the company. The full rules and how to check them are in Is ViralAdBlitz legit?

+

See it drawn out

The How it works page shows the spread, the view rules and the Boost in pictures.

Post my free text ad

+
+

More guides

+
+

Is ViralAdBlitz legit?

The contract on Polygon, the live ledger and the exact split of every $5 Boost, and how to check it yourself.

+

Getting the most from your free account

Write a good free ad, track its clicks, share your page and let your team carry it. No Boost needed.

+

ViralAdBlitz FAQ

Short answers to the questions members ask most.

+

All guides

The full list of ViralAdBlitz guides.

+
+
+

A Boost buys advertising, not income. Nothing is promised.

+ +
+ + + + + diff --git a/public/guide-legit.html b/public/guide-legit.html new file mode 100644 index 0000000..aee66a8 --- /dev/null +++ b/public/guide-legit.html @@ -0,0 +1,76 @@ + + + + +Is ViralAdBlitz legit? | ViralAdBlitz + + + + + + + + + + + + + + + + + + + + + + +
+

Guide

Is ViralAdBlitz legit?

Do not take our word for it. The money side runs on a public contract on Polygon, and every payment is in the ledger.

+

What you are buying

A Boost is advertising for your own text ad: 500 guaranteed network views, a ticker star and turns in the Boosted places on member pages. It is not an investment and nothing is promised. Posting a text ad is free, and nobody has to buy a Boost.

+

The contract

+ + + + +
ContractVABShop on Polygon
Address0xb58447b0CE9a38Ad0e7d41a074FEbee696452905
Source codeVerified on Polygonscan and on Sourcify
Company wallet0x7627Fc78876948AC9d95C1C9eB061E7D6d647b70

The contract page reads the owner, company, keeper and pause state straight from the chain.

+
+

Where each $5 Boost goes

+
+
LEVEL 110%nearest qualified
LEVEL 210%next qualified
+
LEVEL 310%next qualified
LEVEL 410%next qualified
+
LEVEL 510%next qualified
COMPANY50%plus any share nobody qualifies for
+
+

On a $5 Boost, each level share is 50 cents worth of POL and the company share is $2.50 worth, all paid inside the buyer's own transaction.

+
+

Who qualifies for a level share

Only someone who has bought at least one Boost receives a level share. The contract walks up the buyer's sponsor line from the direct sponsor. Anyone who has never bought a Boost is passed over, and the share goes up to the next person who has. The first five qualified people found within 20 places each get one 10% share. Nobody past 20 places is paid, and a buyer is never paid from their own Boost.

Example: if only two people in the line have bought a Boost, they get 10% each and the company gets 80%. If nobody has, the company gets 100%.

This is separate from whose ads show on a member page. Pages show the five nearest people with a live ad; the contract pays the five nearest people who have bought a Boost.

+

What the contract cannot do

+

Check it yourself

    +
  1. Open the contract on Polygonscan and read its verified source code.
  2. +
  3. Choose Read Contract and look at LEVELS (5), LEVEL_BPS (1000, which is 10%) and MAX_DEPTH (20).
  4. +
  5. Open any Boost in the live ledger and look at its Logs: one Purchase event, one Paid event per level and one for the company, and a PassedOver event for anyone in the line who had not boosted.
  6. +
+

Who runs it

ViralAdBlitz is run by TrustClickz as part of a network of sites that share one account, with InstantAdPay and LinkSpin. Read the Terms, the Earnings Disclaimer and the Privacy policy. Questions go to network support.

Nothing is promised. You are paid a level share only when people in your team choose to buy Boosts, and many members receive nothing.

+
+

More guides

+
+

How ViralAdBlitz works

Your free text ad, the five levels it spreads through, what counts as a view and what a Boost adds.

+

Getting the most from your free account

Write a good free ad, track its clicks, share your page and let your team carry it. No Boost needed.

+

ViralAdBlitz FAQ

Short answers to the questions members ask most.

+

All guides

The full list of ViralAdBlitz guides.

+
+
+

A Boost buys advertising, not income. Nothing is promised.

+ +
+ + + + + diff --git a/public/guides.html b/public/guides.html new file mode 100644 index 0000000..0efe2f4 --- /dev/null +++ b/public/guides.html @@ -0,0 +1,53 @@ + + + + +Guides | ViralAdBlitz + + + + + + + + + + + + + + + + + + + + + + +
+

ViralAdBlitz guides

Guides

Plain answers about ViralAdBlitz. Every number here comes from the site code or the contract on Polygon.

+
+
+

How ViralAdBlitz works

Your free text ad, the five levels it spreads through, what counts as a view and what a Boost adds.

Read the guide »

+

Is ViralAdBlitz legit?

The contract on Polygon, the live ledger and the exact split of every $5 Boost, and how to check it yourself.

Read the guide »

+

Getting the most from your free account

Write a good free ad, track its clicks, share your page and let your team carry it. No Boost needed.

Read the guide »

+

ViralAdBlitz FAQ

Short answers to the questions members ask most.

Read the guide »

+
+
+
+

More to read

+
+

How it works, in pictures

The spread, what counts and the Boost, drawn out step by step.

+

The live ledger

Every Boost and every level share, with its Polygonscan transaction.

+

The contract page

Owner, company, keeper and the fixed split, read from the chain.

+
+
+

A Boost buys advertising, not income. Nothing is promised.

+ +
+ + + + + diff --git a/qa/smoke.mjs b/qa/smoke.mjs index d19f4b8..df47ab1 100644 --- a/qa/smoke.mjs +++ b/qa/smoke.mjs @@ -207,6 +207,19 @@ async function main() { && (how.match(/
/g) || []).length >= 5 && /PASSED OVER/.test(how) && /A Boost buys advertising, not income\. Nothing is promised\./.test(how) && /SafePal or any other crypto wallet/.test(how) && !/[—–]/.test(how) && /"@type":"FAQPage"/.test(how), 'How it works page: 3 accessible diagrams, 4 sections, FAQ, pass-up shown, copy rules', how.length); ok(/href="\/how#boost">How a Boost worksHow it works<\/a>/.test(fs.readFileSync(path.join(APP, 'public/assets/common.js'), 'utf8')), 'How it works linked from the nav, the footer and the front page ("How a Boost works")'); ok((await (await anon.req('/sitemap.xml')).text()).includes('/how'), 'sitemap lists /how'); + { // Guides (Marty 2026-11-17): index + 4 evergreen pages, canonical/OG, linked from nav + footer, in the sitemap, no dashes, the house lines + const sm = await (await anon.req('/sitemap.xml')).text(); const cjs = fs.readFileSync(path.join(APP, 'public/assets/common.js'), 'utf8'); + for (const g of ['/guides', '/guides/how-it-works', '/guides/is-it-legit', '/guides/free-account', '/guides/faq']) { + const gr = await anon.req(g); const t = await gr.text(); + ok(gr.status === 200 && t.includes('') && t.includes('og:url" content="https://viraladblitz.com' + g + '"') && //.test(t) + && !/[\u2014\u2013]|[^-!]--[^>]/.test(t) && !/RM Circle/i.test(t) && /A Boost buys advertising, not income\./.test(t) && t.includes('/assets/guides.js') && sm.includes(g + ''), 'guide ' + g + ': 200, canonical, OG, description, house lines, in the sitemap'); + } + const legit = await (await anon.req('/guides/is-it-legit')).text(); + ok(legit.includes('0xb58447b0CE9a38Ad0e7d41a074FEbee696452905') && legit.includes('polygonscan.com/address/0xb58447b0CE9a38Ad0e7d41a074FEbee696452905#code') && /LEVEL 5<\/span>10%/.test(legit) && /COMPANY<\/span>50%/.test(legit) && legit.includes('href="/ledger"'), 'Is it legit guide: contract address, Polygonscan code link, 10% x 5 + 50% split, ledger link'); + ok(/"@type":"FAQPage"/.test(await (await anon.req('/guides/faq')).text()), 'FAQ guide carries FAQPage data'); + ok(/\['\/guides', 'Guides'\]/.test(cjs) && /Guides<\/a>/.test(cjs), 'Guides in the nav and the footer'); + const fq = await anon.req('/faq', { redirect: 'manual' }); ok(fq.status === 301 && fq.headers.get('location') === '/guides/faq', '/faq redirects to /guides/faq', fq.status); + } ok(!r.headers.get('x-frame-options'), 'front page stays frameable (traffic exchanges)'); r = await anon.req('/my'); ok(r.headers.get('x-frame-options') === 'DENY', '/my is never framed'); ok(/script-src[^;]*https:\/\/linkspin\.app/.test(r.headers.get('content-security-policy') || ''), 'CSP admits linkspin.app (network zones)'); @@ -505,7 +518,7 @@ const mtop = await anon.json('/api/wire?page=member&u=topdog'); // nothing leaves this machine; UI_FONTS=1 lets Google Fonts through so the screenshots show the real type (read-only font GETs) await ctx.route(/^https:\/\//, rt => (process.env.UI_FONTS && /^https:\/\/fonts\.(googleapis|gstatic)\.com\//.test(rt.request().url())) ? rt.continue() : rt.abort()); const errs = []; const pg = await ctx.newPage(); pg.on('pageerror', e => errs.push(e.message)); - for (const [p, sel] of [['/', '#boardCards .paper'], ['/how', '.dg svg[role=img]'], ['/owner', '#levels .lvl'], ['/boost', '#bQty option'], ['/ledger', '#rows tbody tr'], ['/contract', '#facts th'], ['/promote', '#kit .card'], ['/terms', '.legal .card'], ['/disclaimer', '.legal .card'], ['/privacy', '.legal .card']]) { + for (const [p, sel] of [['/', '#boardCards .paper'], ['/how', '.dg svg[role=img]'], ['/owner', '#levels .lvl'], ['/boost', '#bQty option'], ['/ledger', '#rows tbody tr'], ['/contract', '#facts th'], ['/promote', '#kit .card'], ['/terms', '.legal .card'], ['/disclaimer', '.legal .card'], ['/privacy', '.legal .card'], ['/guides', '.guides .card']]) { await pg.goto(BASE + p, { waitUntil: 'domcontentloaded' }); await pg.waitForSelector(sel, { timeout: 8000 }).catch(() => {}); const found = await pg.$$eval(sel, els => els.length); const wide = await pg.evaluate(() => document.documentElement.scrollWidth - window.innerWidth); diff --git a/server.js b/server.js index c5e745c..b68842d 100644 --- a/server.js +++ b/server.js @@ -165,8 +165,10 @@ function oldLink(u) { const ZONE_404 = 'ls-c6c515'; // LinkSpin zone "ViralAdBlitz not found" (300x250) on Marty's LinkSpin account (2026-11-15); '' = off const PAGES = { '/': 'index.html', '/how': 'how.html', '/my': 'my.html', '/boost': 'boost.html', '/ledger': 'ledger.html', '/contract': 'contract.html', '/admin': 'admin.html', - '/terms': 'terms.html', '/disclaimer': 'disclaimer.html', '/privacy': 'privacy.html' }; -const RESERVED = new Set(['api', 'assets', 'art', 'go', 'r', 'sso', 'health', 'promote', 'sitemap.xml', 'robots.txt', 'favicon.ico', 'index.php', 'how', 'my', 'boost', 'ledger', 'contract', 'admin', 'terms', 'disclaimer', 'privacy']); + '/terms': 'terms.html', '/disclaimer': 'disclaimer.html', '/privacy': 'privacy.html', + // Guides (Marty 2026-11-17, evergreen pages instead of a blog) + '/guides': 'guides.html', '/guides/how-it-works': 'guide-how.html', '/guides/is-it-legit': 'guide-legit.html', '/guides/free-account': 'guide-free.html', '/guides/faq': 'guide-faq.html' }; +const RESERVED = new Set(['api', 'assets', 'art', 'go', 'r', 'sso', 'health', 'promote', 'sitemap.xml', 'robots.txt', 'favicon.ico', 'index.php', 'how', 'my', 'boost', 'ledger', 'contract', 'admin', 'terms', 'disclaimer', 'privacy', 'guides', 'faq']); const challenges = new Map(); const tickets = new Map(); const srcHost = raw => { try { const u = new URL(String(raw || '')); if (!/^https?:$/.test(u.protocol)) return ''; const h = u.hostname.toLowerCase().replace(/^www\./, ''); return h === C.site || h.endsWith('.' + C.site) || !h.includes('.') ? '' : h.slice(0, 80); } catch (e) { return ''; } }; @@ -237,10 +239,11 @@ const server = http.createServer(async (req, res) => { if (p === '/my' || p === '/admin') ex['X-Frame-Options'] = 'DENY'; return sendFile(res, path.join(PUB, PAGES[p]), ex); } + if (p === '/faq' || p === '/guides/') { res.writeHead(301, { Location: p === '/faq' ? '/guides/faq' : '/guides' }); return res.end(); } if (/^\/r\/[^/]+$/.test(p)) { res.writeHead(302, { Location: '/' + encodeURIComponent(decodeURIComponent(p.slice(3))) }); return res.end(); } if (p === '/sitemap.xml') { const day = new Date().toISOString().slice(0, 10); - const urls = ['/', '/how', '/boost', '/ledger', '/contract', '/promote', '/terms', '/disclaimer', '/privacy'].map(x => 'https://' + C.site + x + '' + day + '').join(''); + const urls = ['/', '/how', '/boost', '/ledger', '/contract', '/promote', '/guides', '/guides/how-it-works', '/guides/is-it-legit', '/guides/free-account', '/guides/faq', '/terms', '/disclaimer', '/privacy'].map(x => 'https://' + C.site + x + '' + day + '').join(''); res.writeHead(200, headers({ 'Content-Type': 'application/xml; charset=utf-8', 'Cache-Control': 'public, max-age=3600' })); return res.end('' + urls + ''); }