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

March 30th, 2021

ChromiumDev Chrome OS users will finally be able to use App Shortcuts for their installed PWAs.

All you need is an extra `shortcuts` array member in your PWA manifest. Android & Windows already support it.

Check out web.dev/app-shortcuts/ for more details. pic.twitter.com/iWJWnyoehL

via TweetDeck (retweeted on 4:10 PM, Mar 30th, 2021 via Twitter Web App)

@mischmerz @petele The below looks workable to me:

“`js
const handle = await showSaveFilePicker({/*…*/});
// Assume the function below takes long:
const blob = await prepareDownload(someData);
const writable = await handle.createWritable();
await writ

via Twitter Web App in reply to mischmerz

@quicksave2k @kennethrohde @roderickhsiao @ChromiumDev Yeah, any argumentative help is welcome. I’m bummed that we had to revert it.

via Twitter Web App in reply to quicksave2k

@quicksave2k @roderickhsiao @ChromiumDev Everything works, it just depends on your definition of “cleanest” 😃. Looking at your site, a query parameter may be the “simplest” solution given the existing architecture. pic.twitter.com/PEAeZq6Rwc

via Twitter for iPhone in reply to quicksave2k

@mischmerz @petele The user gesture has an undocumented grace period after which it’s no longer good. If the file prep work takes longer, the recommended flow is to get the file handle first, and only once you have it start the file prep work. You’ll see …-save-consumed-user-gesture.glitch.me

via Twitter Web App in reply to mischmerz

@edent Good to know that I’m not the only person on the planet wondering about such things.

via Echofon in reply to edent

@roderickhsiao @ChromiumDev The cleanest solution right now is to use the `accept-language` header for the manifest request. developer.mozilla.org/en-US/docs/Web…

via Echofon in reply to roderickhsiao

codepo8 👉🏼 “How the Web Audio API is used for browser fingerprinting”

🔗 fingerprintjs.com/blog/audio-fin…

WHY CAN’T WE JUST HAVE NICE THINGS!

via Twitter Web App (retweeted on 8:10 AM, Mar 30th, 2021 via Echofon)