certain website goes straight to mobile version while on desktop.
A website I visit often has been directing me to the mobile version recently when it never did before. My computer seems to be the only one affected. When using a different browser it works just fine.
被選擇的解決方法
Hello,
I carefully investigated that site, and it looks like it's just a problem on their end. The mobile interface is the default interface. It changes to the mobile interface if some specific checks are passed. The Firefox UA returns the mobile version while the Chrome UA returns the desktop version.
I have tested this using cURL. Please let the developer of that page know.
Hope this was helpful!
Edit: Note that when I click the link to use the Desktop version of the site, I get a cookie that always takes me to the desktop version (outside of private window). Does this not work for you?
從原來的回覆中察看解決方案 👍 1所有回覆 (6)
What do you get in the textbox on this page: https://www.whatsmyua.info/
Do you see a setting in about:config called "general.useragent.override"? If so, delete it.
Could you let us know what website is causing this issue?
Hope this helps!
According to useragent v2.2.1: ua
rawUa: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0 string: family: Firefox major: 72 minor: 0 patch: 0 device: Other 0.0.0
os
string: Windows 10 0.0.0 family: Windows 10 major: 0 minor: 0 patch: 0
According to ua-parser-js v0.7.20: ua
ua: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
browser
name: Firefox version: 72.0 major: 72
engine
name: Gecko version: 72.0
os
name: Windows version: 10
device
vendor: undefined model: undefined type: undefined
cpu
architecture: amd64
According to platform.js v1.3.5: ua
name: Firefox version: 72.0 layout: Gecko
os
os: Windows 10 64-bit
device
product: manufacturer: description: Firefox 72.0 on Windows 10 64-bit
API
GET /api/v1/ua?ua=<ua-string>&version=<ua-parser-version>
Parameters:
ua-string: Be sure to url-encode it. Defaults to your request's user agent string. ua-parser-version: Coming soon. Defaults to "latest".
I don't have general.useragent.override in about:config
the website is thepoint.lww.com
選擇的解決方法
Hello,
I carefully investigated that site, and it looks like it's just a problem on their end. The mobile interface is the default interface. It changes to the mobile interface if some specific checks are passed. The Firefox UA returns the mobile version while the Chrome UA returns the desktop version.
I have tested this using cURL. Please let the developer of that page know.
Hope this was helpful!
Edit: Note that when I click the link to use the Desktop version of the site, I get a cookie that always takes me to the desktop version (outside of private window). Does this not work for you?
由 Matthew Thomas 於
wow, thanks for answering that for me, it was driving me nuts! Now that I think about it I'm the only person I know who uses firefox, so that explains a lot.
I don't know about the cookie. I have tired going to safe mode to see if any of my add-ons are interfering but I still get the same issue. I will get the desktop version and can reload the desktop version but after a while I will get the mobile version again.
That makes sense. Cookies expire. I just didn't notice this behavior when I checked out the site because I didn't use it for long enough.