-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The mobile version of a webpage is displayed even though the desktop user agent is selected #1473
Comments
Some sites dont give the desktop version even if we ask for it. We need to test with sites that report the UA they're getting, such as http://httpbin.org/#/Request_inspection/get_user_agent |
@Softvision-GeluHaiduc can you confirm that this isnt just a facebook problem? |
@jvonitter I tried different websites:
From what I saw the issue appears when the website has a m.domain.com for mobile user agent. (m.facebook.com, m.twitter.com, m.twitch.tv) |
@jvonitter @Softvision-GeluHaiduc The problem is that for pages that redirect to a mobeil domain if you change the UA to desktop when you are already in the mobile site we just reload the mobile site and you see the mobile site in desktop mode, same as if you just load https://m.twitter.com in your desktop browser. It's using the desktop UA but loading the mobile site. Not sure if there is anything we can do about that @bluemarvin @MortimerGoro any ideas? |
@keianhzo I don't know if this information helps but on Firefox for android if you visit twitter.com and then check the option for “Request desktop site” the m.twitter.com website is loaded and if you uncheck the option the desktop version of the website is loaded twitter.com. |
This is a bug in Fenix too. It might need GeckoView support. Here is the code in Fennec: https://searchfox.org/mozilla-central/rev/b38e3beb658b80e1ed03e0fdf64d225bd4a40327/mobile/android/chrome/content/browser.js#4615 |
I'm working to determine if we can do something similar with current GV API or if we will need GV changes. |
In order to fix this in FxR the following GeckoView issue need to be resolved: https://bugzilla.mozilla.org/show_bug.cgi?id=1571083 |
From the PR: |
This should be fixed with #1542 so I think it might still make 1.4 |
I have verified that this issue is no longer reproducible with the latest Firefox Reality 1.4-32312044 installed on the Oculus Go headset. |
[Affected Versions]:
[Affected Platforms]:
[Prerequisites]:
[Steps to reproduce]:
[Expected results]:
[Actual results]:
[Notes]:
The text was updated successfully, but these errors were encountered: