f2etw / detect-inapp

detect browser or in-app information for mobile
https://f2etw.github.io/detect-inapp
251 stars 31 forks source link

Detect TikTok #35

Open shalanah opened 2 years ago

shalanah commented 2 years ago

Would be great to detect TikTok as well. It does detect correctly though that the TikTok browser is inApp. 🎉

Here's an example UA

Mozilla/5.0 (Linux; Android 12; Pixel 3 Build/SP1A.210812.015; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/96.0.4664.104 Mobile Safari/537.36  trill_2022206050 JsSdk/1.0 NetType/WIFI Channel/googleplay AppName/musical_ly app_version/22.6.5 ByteLocale/en ByteFullLocale/en Region/US BytedanceWebview/d8a21c6