Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by greyface-

4 months ago

Yes. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Re...

In a similar vein, you can also use `Link: foo.css; rel=stylesheet` instead of `<link href="foo.css" rel="stylesheet" />` to specify stylesheets. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Li...

1 comment

greyface-

Reply

notpushkin  4 months ago

Only works in Firefox, sadly. But you can do some really weird stuff with it, like https://news.ycombinator.com/item?id=42234837)

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities