faisalman / ua-parser-js

"Unmask Your Traffic" - UAParser.js: The Essential Web Development Tool for User-Agent Detection
https://uaparser.dev/
GNU Affero General Public License v3.0
9.28k stars 1.19k forks source link

Detect Twitter user agent #722

Closed castrolem closed 6 months ago

castrolem commented 7 months ago

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 😞

castrolem commented 6 months ago

@faisalman thank you! 🔥 ❤️