News for hackers. Stuff that matters.
Re:Chrome 69: “www.” subdomain missing from URL by ehsankia on Thursday September 06, 2018 @03:18PM (#17928815)
Facebook aside, don't the majority of sites show you mobile version by looking at headers. Isn't that the whole reason the "Show desktop version" feature even exists in Chrome, to send the desktop header? Very few sites actually use www. vs m.

Clearly, in those cases, people aren't "confused" by the fact that they are seeing a mobile version on www., so other than the fact that you're used to Facebook specifically working this way, wouldn't you just send the Desktop header whenever you get mobile and want desktop?

Re:Chrome 69: “www.” subdomain missing from URL by Nition on Thursday September 06, 2018 @03:42PM (#17929004)
Just speaking for myself, but often people will link to mobile Wikipedia pages, or mobile versions of other sites, and I'll look at the URL first to see if I can change it to a desktop version.
Re:Chrome 69: “www.” subdomain missing from URL by ehsankia on Saturday September 08, 2018 @12:26AM (#17939403)
The fact that you have to even do that shows that the m. pattern is bad. The same url should be shareable without having to worry about such things. It should show as mobile on mobile and desktop on desktop, unless you specifically tell it not to.
Re:Chrome 69: “www.” subdomain missing from URL by derefr on Thursday September 06, 2018 @04:18PM (#17929213)
> Isn't that the whole reason the "Show desktop version" feature even exists in Chrome, to send the desktop header?

This is indeed what it does; I wish it did more!

Specifically, when visiting responsive pages on a phone where the mobile-viewport-size layout is just 100% broken, I’d love if “Request Desktop Site” actually set the viewport to be that of a desktop browser, and then set a low CSS/viewport zoom level to compensate. I want the dual of what happens when I set the “simulate a phone of X size” option in Chrome’s inspector!

Re:Chrome 69: “www.” subdomain missing from URL by notatoad on Thursday September 06, 2018 @05:20PM (#17929656)
I'm pretty sure Chrome's "request desktop site" option does change the viewport size. Or if it's doing something else, it has the same effect.

Have you tried it in the last couple months? It seems like a fairly recent change in behaviour.

Re:Chrome 69: “www.” subdomain missing from URL by kccqzy on Thursday September 06, 2018 @04:55PM (#17929475)
I have a bookmarklet to specifically add/edit the <meta> tag on the page to change the viewport width to 1200px.

Works in many cases, although there still are sites that break with this. I have seen sites that uses the value of window.innerWidth at load and never bother listening for changes in the width. I have seen sites that uses the presence of onTouchMove event to determine whether to use a mobile layout.

Re:Chrome 69: “www.” subdomain missing from URL by hegz on Thursday September 06, 2018 @08:24PM (#17930896)
Modern websites use the screen width to show you mobile vs desktop view. But before CSS had good support for responsive web design everyone had to create a separate website for mobile and put it on m.website
Re:Chrome 69: “www.” subdomain missing from URL by fireattack on Thursday September 06, 2018 @06:25PM (#17930176)
I don't get what you mean, I'm talking about opening an "m.facebook.com" link on my desktop computer Chrome. So not sure why "Show desktop version" is relevant.

>Very few sites actually use www. vs m.

Well, facebook does that.