Thomas Steiner (@tomayac)

Now at @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

@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. https://t.co/PEAeZq6Rwc

via Twitter for iPhone

@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

via Twitter Web App

@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. https://t.co/fQoLculLsN

via Echofon

RT @codepo8: 💉🏼 “How the Web Audio API is used for browser fingerprinting”

🔗 https://t.co/NsODlUVkGC

WHY CAN’T WE JUST HAVE NICE THINGS!

via Echofon