Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    <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?


unsafe-hashes is a decent alternative




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: