well here's something I didn't know, might be interesting to PWA developers.
the WHATWG started allowing user-agent to be settable by fetch requests back in 2015! see issue [1] and change [2]
Firefox and Safari (including iOS Safari which is every browser app) now allow setting a custom user agent on fetch requests, overriding the browser user agent! (just verified)
Chrome based browsers still do not, so we're in a split world atm
[1] https://github.com/whatwg/fetch/issues/37
[2] https://github.com/whatwg/fetch/commit/dab09b0c483c46324082df1e54b29ed4c9c02162