NewTon DC Tournament Manager v4.2.13 — March 20, 2026
Download v4.2.13NewTon DC Tournament Manager Version 4.2.13 achieves an A+ security rating on SecurityHeaders.com for the landing page and all documentation pages by eliminating every inline script and style. The Tournament Manager app and Chalker retain their A rating — unsafe-inline is an architectural requirement for offline single-file deployment. No changes to tournament functionality — this is a drop-in replacement for v4.2.12.
The Content-Security-Policy header is now split into two tiers:
All inline JavaScript has been extracted to an external file, and all inline styles replaced with CSS classes. These pages now serve a strict CSP that blocks all inline code execution — the gold standard for XSS prevention.
landing.html, landing-page.php)releases/*.html)The Tournament Manager contains 93+ inline event handlers and 266+ inline style attributes — an architectural requirement for single-file offline deployment. The Chalker app has a similar architecture. Both retain 'unsafe-inline' in their CSP and grade A on SecurityHeaders.com. External resource loading remains fully blocked (script-src 'self'), preventing the primary XSS attack vector.
The lightbox functionality has been moved from inline code to an external file (js/lightbox.js):
onclick="openLightbox(...)" replaced with data-full="..." attribute; JS reads data-full and existing alt textonclick handlers removed from backdrop, content div, and close buttononerror="..." handler replaced with addEventListener in js/lightbox.js<script src="js/lightbox.js"></script>The inline style="color: #a89080;" on the "No popups? No cookies!" footer text has been replaced with class="footer-cheeky" across all pages: landing page, all doc pages, and all 14 release notes pages.
The landing page has been fully decoupled from tournament.html:
tournament.html — PHP landing page switcher removed. Now a pure tournament app file.landing-page.php — Now the Docker entry point. If NEWTON_LANDING_PAGE=true, renders the landing page. If the env var is not set, issues a 302 redirect to /tournament.php — tournament-only deployments go straight to the app./tournament.html URL — nginx rewrites to tournament.php internally. The URL stays clean and is indexable by Google.js/lightbox.js — New external lightbox scriptlanding.html — Inline JS/styles removed, external script addedlanding-page.php — Inline JS/styles removed, redirect routing addedtournament.html — PHP landing page switcher removeduserguide.html — Footer inline style replaced with classprivacy.html — Footer inline style replaced with classarchitecture.html — Footer inline style replaced with classdocker-quickstart.html — Footer inline style replaced with classrest-api.html — Footer inline style replaced with classreleases/*.html — Footer inline style replaced with class (14 files)docker/nginx.conf — Strict CSP default; landing-page.php location with strict CSP; /tournament.html rewrite addedcss/landing.css — Get Started card mobile breakpoint updated to 730pxCHANGELOG.md — v4.2.13 entry addedNo migration required. Fully compatible with all existing tournaments and saved configurations.
NewTon DC Tournament Manager v4.2.13 — A+ where it matters. A where it must.
Download v4.2.13For older releases, see the GitHub releases page.