Network Weekend (Marty 2026-11-17): ribbon + date-gated chatbot fact (gift a spot), no price or split change
netdeals.js + /assets/netweekend.js (/api/network-deals from the hub), loaded by common.js (not admin, never in a frame), common.js?v=20261117nw. FACTS line live Fri 11-27 00:00 CT to Tue 12-01 00:00 CT (WEEKEND_NOW test clock). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -114,3 +114,10 @@ window.BL = (function () {
|
||||
function withRef(href, sponsor) { if (!sponsor) return href; return href + (href.includes('?') ? '&' : '?') + 'ref=' + encodeURIComponent(sponsor); }
|
||||
return { $, esc, getConfig, fmtPol, short, framed, status, getJSON, post, renderNav, renderFooter, tile, withRef, zone };
|
||||
})();
|
||||
// Network Weekend ribbon (Marty 2026-11-17): netweekend.js paints it only while a network event is live (dates from the hub through
|
||||
// /api/network-deals). Not on the admin page, never inside a frame (traffic-exchange views).
|
||||
(function () {
|
||||
if (/^\/admin/.test(location.pathname)) return;
|
||||
try { if (window.top !== window) return; } catch (e) { return; }
|
||||
var s = document.createElement('script'); s.src = '/assets/netweekend.js?v=20261117'; s.defer = true; s.setAttribute('data-site', 'dlb'); document.head.appendChild(s);
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user