Browser detection using the user agent
▻https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent
“When considering using the user agent string to detect which browser is being used, your first step is to try to avoid it if possible. Start by trying to identify why you want to do it.”