TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Randomize HTML content to test your defensive CSS

104 pointsby mathnmusicover 3 years ago

6 comments

claviskaover 3 years ago
This reminds me of Dan Cederholm’s Bulletproof Web Design, which coincidentally inspired me to adapt the paradigm to component development earlier this week.<p><a href="https:&#x2F;&#x2F;www.abeautifulsite.net&#x2F;posts&#x2F;bulletproof-components&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.abeautifulsite.net&#x2F;posts&#x2F;bulletproof-components&#x2F;</a><p>Randomizing content is a great technique to test for this.
评论 #29524664 未加载
SCHiMover 3 years ago
Had you run this on old IE versions, you&#x27;d have made a decent fuzzer! If this program ever tries to put a table inside a button it&#x27;d have found a couple of crashes for sure.
ratherlongnameover 3 years ago
Love cleartax, maybe I&#x27;m a bit biased because it was founded by one of my alumnus (from IITG).<p>Always love seeing projects that indicate focus on code quality and better practices, esp. from Indian companies.<p>It shows that despite the general culture of doing more in less, frugality, etc; still someone was able to focus on doing something right and making it open source too!
评论 #29520616 未加载
indicateover 3 years ago
This is similar to Chaos Engineering[0]<p>[0] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Chaos_engineering" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Chaos_engineering</a>
klysmover 3 years ago
I like the idea of sampling the other side of your API in a stochastic manner. That concept seems widely applicable.
oriettaxxover 3 years ago
is this the first time randomization is applied to HTML?<p>cool!