Topics /

Web & Frontend

The most popular blog posts about web & frontend on Hacker News. 4,614 posts.

Any year
1355

Closing web browser windows doesn't close connections

Months ago I noticed something strange in the Little Snitch Network Monitor: Safari was still connecting to web sites after every window had been closed. At the time, I thought this was just a Safari bug. I brought the issue to the attention of some Safari engineers, who I had hoped would look into it. Since then…

1362

The “Developer Experience” Bait-And-Switch

We cannot continue to use as much JavaScript as is now normal and expect the web to flourish. At the same time, most developers experience no constraint on their use of JS...until it's too late. Lightweight, effective tools are here, but we're stuck in a rhetorical rut. We need to reset our conversation about…

1363

JS things I didn’t know existed

I was reading through the MDN docs the other day and found these JS features and APIs I never knew existed. So here is a short list of those things, useful or not - learning JS seemingly never ends. Label Statements [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/

1369

Syntax Highlighting Is Backwards (2018)

Most code editors color different pieces of your program in different ways. For instance, they’ll make keywords like if bold and bright so that you notice when you’ve misspelled them. They’ll make non-executable parts like comments and documentation fainter so that you know that the computer isn’t seeing that part of…

1372

Browser Market Pollution: IE[x] is the new IE6

Feb 2015: 3½ years later, we’re in a better place. The new IE Spartan project has killed off document modes . (Technically, still possible in firewall environments, but… effectively dead for us.) These days, our IE support landscape is IE8 (still), IE11, and IE Mobile. 3 is definitely better than 72.

1375

Serve Videos Instead of GIFs

The Graphics Interchange Format ( GIF ) is over 30 years old but is a pervasive part of internet culture. We use GIFs to serve short, silent, and looping videos, which frequently become memes . Entire services exist to create and share them, and many smartphone keyboards have built-in GIF support.

1379

CSS-Tricks in Limbo

I’m sad to say that CSS-Tricks is stuck in limbo again. The site was acquired by Digital Ocean in 2022, and it continued to run under their ownership until February of 2023, when DigitalOcean fired the people working on it. The site stayed latent for a year before DigitalOcean re-hired lead editor Geoff Graham in June…