ua-parser-js
ua-parser-js copied to clipboard
Detect Twitter user agent
Is your feature request related to a problem? Please describe. It would be nice if we could detect the Twitter Browser. According: https://explore.whatismybrowser.com/useragents/explore/software_name/twitter-app/ It just contains the string "Twitter" on its user agent when opened via Android, not sure about iOS.
Describe the solution you'd like
Get Twitter
like the library does with Instagram
for Twitter.
Describe alternatives you've considered
Running my own .includes('Twitter')
on the user agent string 😞