Hacker News new | ask | show | jobs
by worble 412 days ago

    <link rel="preload" href="styles.css" as="style" onload="this.rel='stylesheet'">
Wouldn't this be blocked by a CSP that doesn't allow unsafe-inline?
1 comments

unsafe-hashes is a decent alternative