Chromium doesn't seem to recognize that I'm on a mobile device
#1
Until recently, Chromium was unusable on Mobian. I'm happy to say that it has quickly pulled into the lead for most usable Mobian browser. However, it often serves up the full, desktop version of siteswith a big, horizontal scroll bar.

Some sites display in the correct, responsive layout. But Google, for instance, runs off the page. Any idea why this is, and how to force it render sites properly?
  Reply
#2
Probably some websites assume that "if the UserAgent doesn't suggest that it's a mobile OS or mobile browser, then it has to be a desktop, no doubt about that!!".
Mobian is technically a mobile OS, but the Chromium you run on it is still the desktop version, so I guess in this case you'll need to manipulate the UserAgent (I'm using Qutebrowser which has this functionality built in, but Chromium has extensions for that).

Responsive websites will make use of the screen size, so you'll get to see the "mobile version" regardless of the UserAgent.
Don't ask me what UserAgent you should set it to, I don't bother with that.
I actually prefer the "desktop version" of websites anyway, since that's often the version that doesn't strip away useful information or functionality just to prevent people from scrolling horizontally.
母語は日本語ですが、英語も喋れます(ry
  Reply
#3
Thank you, changing the user agent fixed this problem!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone in Canada using Shaw mobile provider RRman 0 43 Yesterday, 06:35 PM
Last Post: RRman
  Can't type @ from keyboard in chromium flatpak motox6 1 58 06-17-2021, 07:18 PM
Last Post: pjsf
  mobile data on mobian not working synaption 1 168 06-02-2021, 03:16 PM
Last Post: Aberts10
  Installing and tweaking Chromium on Mobian and Arch C0ffeeFreak 19 2,506 03-11-2021, 09:24 AM
Last Post: C0ffeeFreak
  lightdm-mobile-greeter mobian dawg161 0 418 03-08-2021, 08:59 PM
Last Post: dawg161
  Forget Chromium, Vivaldi runs flawlessly! 3x5co 7 985 03-04-2021, 11:26 PM
Last Post: C0ffeeFreak
  Sylpheed, Nextcloud Screensize not for Mobile Franze_m 6 686 02-25-2021, 09:55 AM
Last Post: C0ffeeFreak
  Installing chromium browser? Zebulon Walton 12 3,330 02-09-2021, 12:33 PM
Last Post: C0ffeeFreak
  Alarm clock doesn’t work Captain1ndustry 10 4,032 01-15-2021, 12:29 PM
Last Post: moodroid
  Howto - automatically recover your modem and mobile data after deep sleep as400 23 5,634 01-05-2021, 08:14 AM
Last Post: scholbert

Forum Jump:


Users browsing this thread: 1 Guest(s)