Comment 7 for bug 1215002

Revision history for this message
Olivier Tilloy (osomon) wrote :

I have linked a branch (and submitted a MR) to fix the case of facebook.com (in order to get modern content, just like android and iphone, not unstyled content like in the 90s).

Regarding Google+, I have not seen the issue myself, but it’s been reported that sometimes navigating there works, but at some point during navigation it stops working and then the error page that suggests to upgrade the browser pops up.
I have observed something similar: sometimes I’m getting a desktop version for a given website (there is no override rule defined for this domain), but then suddenly when navigating to some other place under the same domain, I’m getting the mobile version.
I think this is because we’re re-setting the UA string on each navigation request (there may be several requests for one given page, if it embeds iframes or if it uses XMLHTTPRequests), but the property is not contextual to the request, it’s global to the webview.
I don’t know how to address this with QtWebKit (but IIRC Chris said that this would be solved in Oxide, as the UA string property would be contextual).