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:
martbost
2026-10-24 09:24:09 -05:00
parent f322786071
commit 8ca5ed99e8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
<div class="card" style="padding:0"> <div class="card" style="padding:0">
<div data-ph-slot="0" style="margin:0 0 10px"></div> <div data-ph-slot="0" style="margin:0 0 10px"></div>
<div class="feed" id="feed"><div class="row muted">Loading recent history…</div></div> <div class="feed" id="feed"><div class="row muted">Loading recent history…</div></div>
<div class="nas-zone" style="max-width:728px;margin:22px auto 0;overflow:hidden;text-align:center"><!-- nas-ledger --><script src="https://www.networkadspace.com/showadss.php?w=728&h=90&n=1&bw=728&bh=90&c=999"></script></div> <div class="nas-zone" style="max-width:728px;margin:22px auto 0;overflow:hidden;text-align:center"><!-- nas-ledger --><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="&lt;!doctype html&gt;&lt;base target=&quot;_blank&quot;&gt;&lt;style&gt;html,body{margin:0;padding:0;overflow:hidden;background:transparent}&lt;/style&gt;&lt;script src=&quot;https://www.networkadspace.com/showadss.php?w=728&amp;h=90&amp;n=1&amp;bw=728&amp;bh=90&amp;c=999&quot;&gt;&lt;/script&gt;"></iframe><!-- framed 2026-10-24: a dead ad server must never block the page --></div>
</div> </div>
<div class="card small" id="adSlotText" hidden></div> <div class="card small" id="adSlotText" hidden></div>
<footer> <footer>
+1 -1
View File
@@ -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 // 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. // 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">', 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="&lt;!doctype html&gt;&lt;base target=&quot;_blank&quot;&gt;&lt;style&gt;html,body{margin:0;padding:0;overflow:hidden;background:transparent}&lt;/style&gt;&lt;script src=&quot;https://www.networkadspace.com/showadss.php?w=728&amp;h=90&amp;n=1&amp;bw=728&amp;bh=90&amp;c=999&quot;&gt;&lt;/script&gt;"></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' }; const headers = { 'Content-Type': 'text/html; charset=utf-8', 'Cache-Control': 'no-store, must-revalidate' };
if (setCookies && setCookies.length) headers['Set-Cookie'] = setCookies; if (setCookies && setCookies.length) headers['Set-Cookie'] = setCookies;
res.writeHead(200, baseHeaders(headers)); res.writeHead(200, baseHeaders(headers));