3 ms·
Discord does this as well. If they detect a mobile user agent they disable the button to hide the member list which makes group chats unusable. If you just chan
by swiley 6y ago
Discord does this as well. If they detect a mobile user agent they disable the button to hide the member list which makes group chats unusable. If you just change your user agent the button re-appears and you don't even need the app unless your browser doesn't handle voice and you need that.
- judge2020 6y agoFor reference: https://i.judge.sh/hot/Flare/chrome_eC7WqUYKPX.png https://i.judge.sh/hot/Flare/chrome_eC7WqUYKPX.png https://i.judge.sh/mealy/Sparkle/chrome_5RItK5j3Yl.png https://i.judge.sh/mealy/Sparkle/chrome_5RItK5j3Yl.png Edit: Doing some digging, on the iOS user agent, the `toolbar` portion is null, while with the Chrome windows user agent it's set to include the entire element: https://i.judge.sh/flickering/Twilight/chrome_q978GUiwQ8.png https://i.judge.sh/flickering/Twilight/chrome_q978GUiwQ8.png https://i.judge.sh/pleasant/Coco/chrome_cNh0eBIHQL.png https://i.judge.sh/pleasant/Coco/chrome_cNh0eBIHQL.png This looks to be the function that determines it: https://i.judge.sh/qualified/Velvet/chrome_CxUBug0q1P.png https://i.judge.sh/qualified/Velvet/chrome_CxUBug0q1P.png So it's just a 'if mobile' check - maybe it breaks on some mobile screens (on a iphone 5/SE you end up being unable to view the channel name, not that it's an enjoyable experience anyways https://i.judge.sh/brave/Flare/chrome_nW26bTRXDe.png https://i.judge.sh/brave/Flare/chrome_nW26bTRXDe.png) or maybe it's a motive to get you to use the mobile app. This is just the desktop UI with some `if mobile` checks probably thrown in by a small number developers that want to support mobile browser support but aren't getting paid to do it.