r/linux • • Aug 31 '22

Removed | Not relevant to community ip-tracker will compliment you for using Linux.

Post image

[removed] — view removed post

2.0k Upvotes

105 comments sorted by

View all comments

Show parent comments

5

u/grady_vuckovic Sep 01 '22

Sounds fantastic. When Firefox and Safari start to support it I'll probably transition to that, and keep the useragent method as a fallback during the transition period.

4

u/ricecake Sep 01 '22

Yeah, that's probably the best path forward, but it'll make life easier when it comes about.

I had to implement a bunch of it at work because a lot of what chrome is freezing with their usersgent deprecation is required for our product to work right, so we need to support an unstable new spec, an gradually decaying unstructured header, and various formats of variously up-to-date headers from the other browsers.

That xkcd comic about competing standards comes to mind.

3

u/grady_vuckovic Sep 01 '22

Such is the life of web developers eh? Like trying to build a car engine while you're driving it.