Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A friend of mine is an absolute wizard and has been building essentially “responsive images” as SVGs with JS inside. They adapt to their size programmatically. It’s… interesting.

The fact that SVGs can even have JS embedded feels both untapped and kind of dangerous.



SVGs are responsive out of the box? I'm confused about what the Javascript would be doing to help that situation within the svg.


I think they’re talking about dynamically actually changing the image itself, not just resizing


That sounds super interesting. Does your friend have a GitHub or site that shows what they’re doing on that front. If so could you post link.

This is super far out of my wheelhouse technically as a backend engineer but it sounds really cool.


This has been known in the security community for quite some time.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: