Get the latest tech news
Running Pong in 240 browser tabs
What should you do with your unclosed browser tabs? I ran pong in mine.
We have a worker that cycles through emojis and turns them into data URLs that we pass back to the main tab, which updates the favicon. My main thread computed the state of every favicon pixel and then stuff that into the broadcast channel, which was read by hundreds of tabs. I fell back on the age-old technique of disabling different bits of code until stuff worked, and eventually I hit on the issue; I was creating hundreds of favicons a second, and that was too slow.
Or read this on Hacker News