Thomas Steiner (@tomayac@toot.cafe) (@tomayac)

Earth, also @tomayac@toot.cafe

The below is an off-site archive of all tweets posted by @tomayac ever

October 17th, 2021

@fabiospampinato @electronjs You can use DOMPurify by default (but lazy-loaded), and the new built-in API as a progressive enhancement. I’m a big fan of this pattern.

“`js
if (!(‘api’ in Foo)) {
await import(‘./api.js’);
// …
}
“`

via Twitter for iPad in reply to fabiospampinato

@simevidas Slightly related: as a kid, when playing on my dad’s computer that had a QWERTZ keyboard, I always thought the word “yes” for some weird reason needed to be entered by typing ‘z’. Are you sure? Zes!

via Echofon in reply to simevidas

@dfabu @ChromiumDev @Paul_Kinlan Yeah, it certainly isn’t everyone’s jam, but the video view counts from for individual sessions unfortunately tell a different story.

via Twitter for iPhone in reply to dfabu

addyosmani Learn how to reduce the impact embeds can have on your site’s performance: web.dev/embed-best-pra…. Includes a new layout shift terminator tool for embeds! pic.twitter.com/S5n3Ex1f2C

via Twitter Web App (retweeted on 10:44 AM, Oct 17th, 2021 via Echofon)

@dfabu @ChromiumDev We changed the format essentially due to “Zoom fatigue”. @Paul_Kinlan has channeled some of the more nuanced thoughts that went into the decision in his (draft) blog post: paul.kinlan.me/chrome-dev-sum….

via Echofon in reply to dfabu

My pinned tab 📌 browser setup is work Gmail, private Gmail, work Calendar,… That is, I use multiple accounts in one Chrome profile. It’s not widely known that URLs likslides.newQ4 support this. Thanks,@stefanjudisis⁩, for documentistefanjudis.com/today-i-learne…

via Twitter for iPhone

Blaming Screen Readers 🚩×5: adrianroselli.com/2021/10/blamin…. Great post by ⁦@aardrian⁩ on how screen readers deal with emoji- or text-based memes. Be sure to also read his tips on improving your tweets’ accessibility: adrianroselli.com/2018/01/improv….

via Twitter for iPhone