Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instagram and Snapchat browsers #67

Open
luigifab opened this issue Sep 17, 2020 · 6 comments
Open

Instagram and Snapchat browsers #67

luigifab opened this issue Sep 17, 2020 · 6 comments

Comments

@luigifab
Copy link

luigifab commented Sep 17, 2020

Can you detect them?

Mozilla/5.0 (iPhone; CPU iPhone OS 13_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 159.0.0.28.123 (iPhone11,8; iOS 13_7; cs_CZ; cs-CZ; scale=2.00; 828x1792; 244425769)

Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Snapchat/11.1.0.65 (iPhone12,1; iOS 13.6.1; gzip)

Thanks

@luigifab luigifab changed the title Instagram browser Instagram and Snapchat browsers Sep 17, 2020
@hajro92
Copy link

hajro92 commented Oct 2, 2020

They are detected as AppleWebKit 605.1.15 iPhone

@donatj
Copy link
Owner

donatj commented Oct 2, 2020

@hajro92 What version are you running? I'm seeing both the strings above returned as AppleWebKit 605.1.15 iPhone

@hajro92
Copy link

hajro92 commented Oct 2, 2020

@donatj Sorry it was my bad, you're right. It shows AppleWebKit 605.1.15 iPhone

@donatj
Copy link
Owner

donatj commented Oct 2, 2020

I'm on the fence about this.

On the one hand I don't want to have to support every single apps web view and this could set a bad precedent.

On the other hand, greping my own access logs it seems like the usage is non-negligible…

image (13)

I need to think on it.

@donatj
Copy link
Owner

donatj commented Oct 2, 2020

Break down from my last 2 million requests…

requests ua
1 Mozilla/5.0 (iPad; CPU OS 14_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 160.1.0.31.120 (iPad6,11; iOS 14_0_1; en_GB; en-GB; scale=2.00; 1334x750; 246979827)
15 Mozilla/5.0 (iPad; CPU OS 14_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 160.1.0.31.120 (iPad6,11; iOS 14_0_1; en_GB; en-GB; scale=2.00; 1334x750; 246979827) NW/1
16 Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 158.1.0.29.120 (iPhone10,4; iOS 13_6_1; en_GB; en-GB; scale=2.00; 750x1334; 244229785)
17 Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 158.1.0.29.120 (iPhone12,8; iOS 13_6_1; en_GB; en-GB; scale=2.00; 750x1334; 244229785)
7 Mozilla/5.0 (iPhone; CPU iPhone OS 13_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 159.0.0.28.123 (iPhone10,4; iOS 13_7; en_US; en-US; scale=2.34; 750x1331; 244425769)
18 Mozilla/5.0 (iPhone; CPU iPhone OS 13_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 159.0.0.28.123 (iPhone9,1; iOS 13_7; en_US; en-US; scale=2.00; 750x1334; 244425769)
16 Mozilla/5.0 (iPhone; CPU iPhone OS 14_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 160.1.0.31.120 (iPhone10,4; iOS 14_0_1; en_GB; en-GB; scale=2.34; 750x1331; 246979827)
1 Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 160.1.0.31.120 (iPhone8,1; iOS 14_0; en_GB; en-GB; scale=2.00; 750x1334; 246979827)
15 Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 160.1.0.31.120 (iPhone8,1; iOS 14_0; en_GB; en-GB; scale=2.00; 750x1334; 246979827) NW/1
17 Mozilla/5.0 (Linux; Android 10; ONEPLUS A6013 Build/QKQ1.190716.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/85.0.4183.101 Mobile Safari/537.36 Instagram 159.0.0.40.122 Android (29/10; 420dpi; 1080x2134; OnePlus; ONEPLUS A6013; OnePlus6T; qcom; en_US; 245196084)
3 Mozilla/5.0 (Linux; Android 10; SM-A515F Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/85.0.4183.101 Mobile Safari/537.36 Instagram 158.0.0.30.123 Android (29/10; 345dpi; 1080x2280; samsung; SM-A515F; a51; exynos9611; es_ES; 243646269)
19 Mozilla/5.0 (Linux; Android 8.0.0; SM-A520W Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.112 Mobile Safari/537.36 Instagram 159.0.0.40.122 Android (26/8.0.0; 480dpi; 1080x1920; samsung; SM-A520W; a5y17ltecan; samsungexynos7880; en_CA; 245196084)
17 Mozilla/5.0 (Linux; Android 9; Redmi Note 6 Pro Build/PKQ1.180904.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/85.0.4183.101 Mobile Safari/537.36 Instagram 160.0.0.24.132 Android (28/9; 352dpi; 1080x2088; Xiaomi/xiaomi; Redmi Note 6 Pro; tulip; qcom; tr_TR; 246123425)
17 Mozilla/5.0 (Linux; Android 9; SM-G955U Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/85.0.4183.101 Mobile Safari/537.36 Instagram 159.0.0.40.122 Android (28/9; 420dpi; 1080x2094; samsung; SM-G955U; dream2qltesq; qcom; en_US; 245196084)
requests ua
32 Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Mobile/15E148 Snapchat/11.0.6.81 (like Safari/604.1)
16 Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Mobile/15E148 Snapchat/11.1.0.65 (like Safari/604.1)
32 Mozilla/5.0 (iPhone; CPU iPhone OS 13_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Mobile/15E148 Snapchat/11.0.6.81 (like Safari/604.1)
19 Mozilla/5.0 (iPhone; CPU iPhone OS 13_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Mobile/15E148 Snapchat/11.1.0.65 (like Safari/604.1)
16 Mozilla/5.0 (iPhone; CPU iPhone OS 14_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Mobile/15E148 Snapchat/11.2.0.73 (like Safari/604.1)
1 Mozilla/5.0 (iPhone; CPU iPhone OS 14_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Mobile/15E148 Snapchat/11.2.1.0 (like Safari/604.1)
18 Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Mobile/15E148 Snapchat/11.2.0.73 (like Safari/604.1)
18 Mozilla/5.0 (Linux; Android 10; GM1913 Build/QKQ1.190716.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/85.0.4183.101 Mobile Safari/537.36 Snapchat/11.0.6.82 (GM1913; Android 10#2007240000#29; gzip)
17 Mozilla/5.0 (Linux; Android 10; SM-A205U Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/85.0.4183.101 Mobile Safari/537.36Snapchat11.0.6.82 (SM-A205U; Android 10#A205USQS6BTH1#29; gzip)
18 Mozilla/5.0 (Linux; Android 11; Pixel 4 Build/RP1A.200720.009; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/85.0.4183.101 Mobile Safari/537.36Snapchat11.1.1.66 (Pixel 4; Android 11#6720564#30; gzip)
6 Mozilla/5.0 (Linux; Android 5.1.1; SM-J500H Build/LMY48B; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/85.0.4183.81 Mobile Safari/537.36Snapchat11.0.1.72 (SM-J500H; Android 5.1.1#J500HXXS1AQG1#22; gzip)
20 Mozilla/5.0 (Linux; Android 6.0.1; SAMSUNG-SM-G900A Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.136 Mobile Safari/537.36Snapchat10.89.6.78 (SAMSUNG-SM-G900A; Android 6.0.1#G900AUCS4DQD1#23; gzip)
18 Mozilla/5.0 (Linux; Android 8.1.0; LML713DL Build/OPM1.171019.019; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/85.0.4183.127 Mobile Safari/537.36Snapchat11.1.7.81 (LML713DL; Android 8.1.0#201601759c828.FG#27; gzip)
19 Mozilla/5.0 (Linux; Android 8.1.0; SM-J727T Build/M1AJQ; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/85.0.4183.101 Mobile Safari/537.36Snapchat11.0.6.82 (SM-J727T; Android 8.1.0#J727TUVS7BTC1#27; gzip)
17 Mozilla/5.0 (Linux; Android 9; SM-G950F Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/72.0.3626.121 Mobile Safari/537.36Snapchat11.0.1.72 (SM-G950F; Android 9#G950FXXS8DTC6#28; gzip)
5 Mozilla/5.0 (Linux; Android 9; SM-G950U Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/85.0.4183.81 Mobile Safari/537.36Snapchat11.0.6.82 (SM-G950U; Android 9#G950USQS7DTB3#28; gzip)

@nickdnk
Copy link

nickdnk commented Mar 4, 2021

I'm on the fence about this.

On the one hand I don't want to have to support every single apps web view and this could set a bad precedent.

On the other hand, greping my own access logs it seems like the usage is non-negligible…

image (13)

I need to think on it.

Isn't identifying the actual browser the most relevant here? Neither SnapChat or Instagram are browsers, they're just apps using a web-view running on Chrome or Safari underneath, for Android and iOS respectively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@donatj @nickdnk @hajro92 @luigifab and others