NAS 728x90 ad tags load inside a srcdoc iframe: the inline <script> blocked the page below it while networkadspace.com (rhi) was offline for the 2026-10-24 data-center move (PolHunter stalled halfway the same way)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -424,7 +424,7 @@ function serveJoinPage(res, tok, angle, ang, setCookies) {
|
||||
// Network Ad Space zone on the two legacy squeeze pages only (Marty, 2026-09-19): below the
|
||||
// fine print, above the footer links. The regular join pages stay ad-free.
|
||||
if (/^(fw|t1)-(adv|earn)$/.test(String(angle || ''))) html = html.replace('<div class="jn-foot">',
|
||||
'<div class="jn-nas" style="max-width:728px;margin:34px auto 0;overflow:hidden;text-align:center"><!-- nas-legacy --><script src="https://www.networkadspace.com/showadss.php?w=728&h=90&n=1&bw=728&bh=90&c=999"></script></div>' + '<div class="jn-foot">');
|
||||
'<div class="jn-nas" style="max-width:728px;margin:34px auto 0;overflow:hidden;text-align:center"><!-- nas-legacy --><iframe title="Advertisement" width="728" height="90" scrolling="no" loading="lazy" style="border:0;max-width:100%;display:block;margin:0 auto;background:transparent" srcdoc="<!doctype html><base target="_blank"><style>html,body{margin:0;padding:0;overflow:hidden;background:transparent}</style><script src="https://www.networkadspace.com/showadss.php?w=728&h=90&n=1&bw=728&bh=90&c=999"></script>"></iframe><!-- framed 2026-10-24: a dead ad server must never block the page --></div>' + '<div class="jn-foot">');
|
||||
const headers = { 'Content-Type': 'text/html; charset=utf-8', 'Cache-Control': 'no-store, must-revalidate' };
|
||||
if (setCookies && setCookies.length) headers['Set-Cookie'] = setCookies;
|
||||
res.writeHead(200, baseHeaders(headers));
|
||||
|
||||
Reference in New Issue
Block a user