Files
ukaiautomation/index.php
Peter Foster 5d490ac91e fix: CSS not loading due to CSP blocking onload inline event handler
The media=print onload deferred CSS pattern requires unsafe-inline in
script-src. When nonces replaced unsafe-inline in 14f1e53, the onload
attribute was blocked by CSP, leaving main.min.css as media=print only
so all below-fold styles were invisible.

Fix: replace onload attribute with a nonce-tagged inline script that
does the same media switch — CSP-safe.
2026-03-22 19:21:45 +00:00

72 KiB