News for hackers. Stuff that matters.
Re:My stack is HTML+CSS by leerob on Thursday January 07, 2021 @12:37PM (#25674276)
Twitter embeds are equally bad. Ended up remaking them to output static HTML + CSS to improve perf (https://leerob.io/tweets).
Re:My stack is HTML+CSS by umaar on Thursday January 07, 2021 @03:43PM (#25677183)
Same, I get ~500 tweets displayed with:

- No JavaScript necessary

- All profile images turned into one massive sprite

- Minimal payload size

Here are what the tweets look like when rendered: https://umaar.com/dev-tips/feedback

Here's the code to achieve that: https://github.com/umaar/better-twitter-embed

Re:My stack is HTML+CSS by toinbis on Thursday January 07, 2021 @04:52PM (#25678083)
Well done, thanks for sharing!
Re:My stack is HTML+CSS by leerob on Thursday January 07, 2021 @04:18PM (#25677635)
Nice job!
Re:My stack is HTML+CSS by recursive on Thursday January 07, 2021 @01:18PM (#25674976)
As a user, I hate twitter embeds. If I select text inside them, they redirect my user agent location. That's never what I want.