← back to Silkwallpaper
snapshot before AdSense: pre-existing hero-probe edit
266b1d98f4ff2de176f725347d610cb93e5aef38 · 2026-09-09 16:01:23 -0700 · Steve
Files touched
Diff
commit 266b1d98f4ff2de176f725347d610cb93e5aef38
Author: Steve <steve@designerwallcoverings.com>
Date: Wed Sep 9 16:01:23 2026 -0700
snapshot before AdSense: pre-existing hero-probe edit
---
public/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/index.html b/public/index.html
index 28fd860..1177eb8 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1783,7 +1783,7 @@ document.addEventListener('DOMContentLoaded', function(){ try { renderRailSectio
if (i >= pool.length) return; // none qualified -> static hero stays
const url = pool[(start + i) % pool.length];
const probe = new Image();
- probe.onload = () => { if (probe.naturalWidth >= 1200) bg.style.backgroundImage = "url('" + url + "')"; else tryAt(i + 1); };
+ probe.onload = () => { if (probe.naturalWidth >= 800) bg.style.backgroundImage = "url('" + url + "')"; else tryAt(i + 1); };
probe.onerror = () => tryAt(i + 1);
probe.src = url;
})(0);
← 80da914 auto-data-snapshot: 2026-08-17T09:25:02 (9 data files) — pub
·
back to Silkwallpaper
·
TK-11341: add AdSense Auto-Ads loader + ads.txt (revert to r d93b90a →