@html5test@mastodon.social
@html5test@mastodon.social avatar

html5test

@html5test@mastodon.social

CTO of Salonhub. Creator of http://html5test.com, writes at http://nielsleenheer.com, team
Fronteers Conference, Google Developers Expert, Invite me to speak at your event.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

html5test, to random
@html5test@mastodon.social avatar

I just got carded at Google I/O when I wanted to get a beer. Somehow they didn’t accept my t-shirt as proof of me being 21+. Weird.

html5test, to random
@html5test@mastodon.social avatar

The web turns 35 this year…. Wait what? I used Tim Berners-Lee’s first webbrowser on the NeXT. I feel old.

html5test,
@html5test@mastodon.social avatar

@raymondcamden Hi 👋🏻 Yes I am, let’s catch up later.

html5test,
@html5test@mastodon.social avatar

@sil We had a couple of NeXT boxes at our lab at uni. I still remember using Gopher to download the original browser from some server at CERN. Failed some classes that year because I spend too much time in the lab instead of attending classes.

html5test,
@html5test@mastodon.social avatar

@raymondcamden 👍🏻

jensimmons, to random
@jensimmons@front-end.social avatar

For those of you who make a PWA / Home Screen web app, do you use Fullscreen API inside your web app? Do you need it??

Or as a general web developer, how do you like Fullscreen API?? Do you wish it were different / better?

html5test,
@html5test@mastodon.social avatar

@jensimmons Yes, we use it in our PWA. Our web app is a point-of-sale system that uses Fullscreen api to show a copy of the receipt full screen on a customer facing display.

The Window Management API would be a great addition, so you can show the full screen window to a specific screen.

stroughtonsmith, to random
@stroughtonsmith@mastodon.social avatar

Broadcom ported my profile over from VMWare, and doesn't know how to handle my name now so I can't sign the download agreement. It also doesn't give me a way to edit my name, either 😛

I tried the support chat, and got an error instead.

What a shitshow.

image/png

html5test,
@html5test@mastodon.social avatar

@stroughtonsmith 😅💪🏻

html5test, to random
@html5test@mastodon.social avatar

On my way to San Francisco for Google I/O.

Going to be a busy 2 days. But first 8 more hours to go on this flight. Been really good so far. Had some Indonesian rendang which was truly delicious.

image/png

paulca, to random
@paulca@mastodon.social avatar

Off to Beyond Tellerrand in Dusseldorf.

Looking forward to it, but I can see myself travelling less after this year.

html5test,
@html5test@mastodon.social avatar

@paulca Have fun! Having fomo already.

html5test, to random
@html5test@mastodon.social avatar

Running into something strange:

POST some data in the request body to some.server.com

Server responds with 307 redirect

So the browser redirects to other.server.com by doing a new request:

POST same data to other.server.com

Headers and body are identical, except the second request has a Content-Type header with the value “”. So the server does not know how to parse the data in the body.

Happens only in Safari.

html5test, to random
@html5test@mastodon.social avatar

New t-shirt has arrived. Got an Internet Explorer version as well.

html5test, to random
@html5test@mastodon.social avatar

It's done! What was supposed to be a quick article about User-Agent strings turned into a monster of an article with 6 chapters.

But I really enjoyed writing again. I'll be traveling for the next weeks or two, including a stop at Google I/O.

After that I am definitely going to work on a new article. Something completely different: Barcode scanners and WebHID!

html5test, to random
@html5test@mastodon.social avatar

6️⃣ Should we rely on browser detection?

How accurate is the new User-Agent Client Hints API? Desktop mode complicates things. And perhaps should we build for the web instead of browsers.

https://nielsleenheer.com/articles/2024/should-we-rely-on-browser-detection/

html5test,
@html5test@mastodon.social avatar

This was the sixth and final chapter of "The problem with User-Agent strings". Read the rest of the chapters here:

https://nielsleenheer.com/articles/2024/the-problem-with-user-agent-strings/

simevidas, to random
@simevidas@mastodon.social avatar

Re https://www.youtube.com/watch?v=34UScXNr6BE, can StatCounter’s numbers for Windows versions be trusted? Browsers on Windows 11 say in their User-Agent strings that they’re on Windows 10 (see https://nielsleenheer.com/articles/2024/user-agent-reduction/), so where does StatCounter even get their Windows 11 percentages from?

html5test,
@html5test@mastodon.social avatar

@simevidas probably from the User-Agent Client Hints API, which is only supported on Chromium browsers. So the numbers are certainly underreported.

html5test,
@html5test@mastodon.social avatar

@simevidas I haven’t looked at their code, but it it is loading third-party JavaScript.

The Client Hints JavaScript API would work in that case. Basically the same thing as I do here to determine the Windows version:

https://nielsleenheer.com/articles/2024/the-user-agent-client-hints-api/

html5test, to random
@html5test@mastodon.social avatar

Over the last couple of years the information in the User-Agent string has become unreliable. Even more so than it was in the past.

Check out the replacement: User-Agent Client Hints for a way to get more accurate information:

https://nielsleenheer.com/articles/2024/the-user-agent-client-hints-api/

html5test,
@html5test@mastodon.social avatar

This is chapter 5 in the series: The problem with User-Agent strings

1️⃣ A brief history of the User-Agent string
2️⃣ A chapter of unnecessary detail
3️⃣ Trouble happens when you update a version number
4️⃣ User-Agent reduction

https://nielsleenheer.com/articles/2024/the-problem-with-user-agent-strings/

html5test,
@html5test@mastodon.social avatar

The sixth and final chapter will be released tomorrow - or the day after. Still need to write it 😬

html5test,
@html5test@mastodon.social avatar

@fluchtkapsel Fixed, the sixth chapter was a late minute addition.

html5test,
@html5test@mastodon.social avatar

Done! This stuff just writes itself. Another 1400 words of misery.

html5test, to random
@html5test@mastodon.social avatar

🔔The next chapter of the series "The problem with User-Agent strings" is up! Find out what has been happening to the accuracy of the User-Agent string and why!

4️⃣ User-Agent reduction

https://nielsleenheer.com/articles/2024/user-agent-reduction/

html5test,
@html5test@mastodon.social avatar

Tomorrow we'll talk about the replacement of the User-Agent string and how it will fix some of the issues we're seeing with User-Agent reduction.

Don't forget to check out part 1️⃣, 2️⃣ and 3️⃣:
https://nielsleenheer.com/articles/2024/the-problem-with-user-agent-strings/

html5test, to random
@html5test@mastodon.social avatar

Oh, and just because 6000 words is not enough to explain the dumpster fire that is the User-Agent string, there is a sixth chapter coming...

html5test, to random
@html5test@mastodon.social avatar

And our next chapter:

3️⃣ Trouble happens when you update a version number

https://nielsleenheer.com/articles/2024/trouble-happens-when-you-update-a-version-number/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • mdbf
  • magazineikmin
  • Youngstown
  • everett
  • rosin
  • slotface
  • thenastyranch
  • ngwrru68w68
  • PowerRangers
  • kavyap
  • cisconetworking
  • tsrsr
  • DreamBathrooms
  • anitta
  • tacticalgear
  • khanakhh
  • Durango
  • ethstaker
  • vwfavf
  • InstantRegret
  • modclub
  • tester
  • cubers
  • GTA5RPClips
  • osvaldo12
  • normalnudes
  • provamag3
  • All magazines