HNHacker News
TopNewBestAskShowJobs

thomascz

27 karma · joined June 27, 2020

submissionscomments
thomascz··on Simple.css – A classless CSS framework
I can't understand why so many websites use an onclick handler on a button to redirect to websites. It's not hard to even find something like <a href="#" onclick="location.href='https://example.com';">click here</a>

The worst part is that it's not just random websites doing this, this can be found on most FAANG websites as well.

thomascz··on Google's new related search box optimizes for the wrong metric
Layout shift. Google has an entire article [0] about why it's bad. But as this is likely never going away, I made a Chrome extension [1] (5 lines of code) that gets rid of the box.

[0]: https://web.dev/cls/

[1]: https://chrome.google.com/webstore/detail/remove-people-also...

thomascz··on Show HN: Real-world stats and audits of web technologies on the top 100k sites
This is a website I've been working on for the last month. I've run Lighthouse audits (performance, a11y, best practices, SEO, ...) + analyzed the used web technologies on the top 100k sites. Then aggregated the averages of websites per each web technology. You can sort technologies by the audit values or filter them by category, or see which technologies are often used together. Few audits also include CrUX metrics (data from real Chrome users). Keep in mind that these stats show values of the average website using a specific technology, not the technology itself.