Zones: ad-blocker proofing. House creatives served as /art/house-<slot>.svg (EasyList blocks any URL with an IAB size token like -728x90.), zone owners told not to wrap the tag in ad-named elements
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -888,7 +888,7 @@ const server = http.createServer(async (req, res) => {
|
||||
const u = new URL(req.url, 'http://x');
|
||||
const p = u.pathname;
|
||||
// zone endpoints run on other people's sites and show only ad creatives, so they pass the curtain
|
||||
const zonePath = p === '/z.js' || p === '/z/nas' || p.startsWith('/api/zone/') || p.startsWith('/banners/linkspin-');
|
||||
const zonePath = p === '/z.js' || p === '/z/nas' || p.startsWith('/api/zone/') || p.startsWith('/banners/linkspin-') || p.startsWith('/art/house-');
|
||||
if (!zonePath && curtained(req, res, u)) return; // nothing below this line runs for an uninvited visitor
|
||||
|
||||
// -- the rotator redirect: one hop, recorded, on any host (LinkSpin)
|
||||
|
||||
Reference in New Issue
Block a user