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
  gnome podcasts on debian repo, dino-mobile user641 3 215 09-11-2021, 12:04 AM
Last Post: user641
  Stripping my device down to the bare essentials 3x5co 5 49 09-06-2021, 10:59 PM
Last Post: kqlnut
  mobile data on mobian not working synaption 10 872 08-29-2021, 07:22 AM
Last Post: bcnaz
  Mobile network mode setting not saved Zebulon Walton 2 269 08-12-2021, 07:49 AM
Last Post: zetabeta
  Pinephone in Canada using Shaw mobile provider RRman 0 329 06-19-2021, 06:35 PM
Last Post: RRman
  Can't type @ from keyboard in chromium flatpak motox6 1 387 06-17-2021, 07:18 PM
Last Post: pjsf
  Installing and tweaking Chromium on Mobian and Arch C0ffeeFreak 19 4,063 03-11-2021, 09:24 AM
Last Post: C0ffeeFreak
  lightdm-mobile-greeter mobian dawg161 0 601 03-08-2021, 08:59 PM
Last Post: dawg161
  Forget Chromium, Vivaldi runs flawlessly! 3x5co 7 1,614 03-04-2021, 11:26 PM
Last Post: C0ffeeFreak
  Sylpheed, Nextcloud Screensize not for Mobile Franze_m 6 1,059 02-25-2021, 09:55 AM
Last Post: C0ffeeFreak

Forum Jump:


Users browsing this thread: 1 Guest(s)