Thomas Steiner (@tomayac)

Hamburg, Germany

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

August 17th, 2021

@anthony_ricaud @yoavweiss It sounds like you’d be better served by a browser extension for a complex-ish setup like this.

via Twitter Web App in reply to anthony_ricaud

@sid_vishnoi @kennethrohde @dandclark1 You can `try…catch` a dynamic import assertion to check if the type is supported:

“`js
const type = ‘foo’;
try {
await import(‘./foo.json’, {
assert: { type }
});
} catch (err) {
iferr.name

via Twitter Web App in reply to sid_vishnoi

Using CSS Module Scripts to import stylesheets web.dev/css-module-scr…, by @dandclark1.

“`js
import sheet from ‘./styles.css’ assert { type: ‘css’ };
document.adoptedStyleSheets = [sheet];
shadowRoot.adoptedStyleSheets = [sheet];
“`

via Twitter Web App

@Gian_albert02 @ChromiumDev That’s the UI of the @brave browser. You’re tweeting to Chrome.

via Twitter Web App in reply to Gian_albert02

@pepelsbey_ The problem with toggles is that you’re actively fighting the browser if you choose a theme different than the system theme; there is just no way around it. FWIW, my toggle supports both approaches, the `class` attribute or the `link[media]` agithub.com/GoogleChromeLa…

via Twitter Web App in reply to pepelsbey_

@Gian_albert02 @ChromiumDev This is the tabs overview that you have chosen to fill with new tabs. In the general case this overview looks different. 😃

via Twitter for iPhone in reply to Gian_albert02

ChromiumDev Help @tomayac by answering a short (promised!) survey 📋 about his efforts to reboot the 📶 Network Information API: forms.gle/7fqGn3X5134EzG….

More context and background in the quoted tweet ⤵️ twitter.com/ChromiumDev/st…

via TweetDeck (retweeted on 9:51 AM, Aug 17th, 2021 via Twitter Web App)

@samthor Hehe, I’m mostly just “that guy”…

via Twitter Web App in reply to samthor