News for hackers. Stuff that matters.
Re:Ask HN: Is there a version of HTML that bans JavaScript? by zoobab on Tuesday September 24, 2019 @05:01AM (#21057920)
Not like this?:

Content-Security-Policy: script-src 'none';

Re:Ask HN: Is there a version of HTML that bans JavaScript? by moviuro on Tuesday September 24, 2019 @08:17AM (#21059202)
Probably yours, yes. On my own blog, I use:

  default-src 'self'; base-uri 'self'; style-src 'unsafe-inline' 'self'