News for hackers. Stuff that matters.
Re:HTTP headers for the responsible developer by gambler on Wednesday May 08, 2019 @10:45AM (#19859266)
> The real solution is that your build system should separate the CSS from JS during build time. Not many popular build systems (such as create-react-app) support this.

The real solution is to fix the actual protocol issues, instead of imposing arbitrary limitations on what scripts can do with the page. If you pause and think about what these security measures are aiming to mitigate, they themselves are at best amateurish.

Re:HTTP headers for the responsible developer by dcbadacd on Wednesday May 08, 2019 @01:14PM (#19860943)
They aren't strictly "protocol issues" though, they're just dangerous features that are good to be limited in most cases.