Closed tomayac closed 1 year ago
We already hardcode the browsers here:
const BROWSERS = ['chrome', 'firefox', 'edge', 'safari'];
So wouldn't it be better (and more future proof) to hardcode the friendly name too? You know, in case Internet Explorer ever comes back 😁 Or we want to include Samsung Internet in future.
Definitely an option to reverse the logic. Lemme do that.
PTAL. Sorry, this is untested, I’m editing from a phone while on a train. 🫣
I was thinking more like this: https://github.com/GoogleChrome/webdev-infra/pull/70
Superseded by #70.
I hope this fixes the RSS feed issue highlighted below:
The idea is to have a friendly name that reads
"Chrome"
instead of"chrome"
.