Open webcompat-bot opened 7 years ago
CheryCommonCls().getDevice().versions
Object { trident: false, presto: false, webKit: false, gecko: true, mobile: false, ios: false, android: true, iPhone: false, iPad: false, webApp: true }
There is useragent detection going on.
$(function () {
//return false;
var objx = CheryCommonCls();
if (objx.getDevice().versions["iPhone"] || objx.getDevice().versions["mobile"]) {
if (window.location.pathname.indexOf("/m/") >-1) {
return;
}
else {
window.location = "/m" + window.location.pathname+location.search;
}
}
else {
if (window.location.pathname.indexOf("/m/") > -1) {
window.location = "/"+ window.location.pathname.replace("/m/", "") + window.location.search;
}
else {
return;
}
}
});
The mobile version is at http://www.chery.cn/m/home
This is still happening.
Tested with: Browser / Version: Firefox Nightly Mobile 68.3a1 (2019-10-29), Firefox Preview Nightly 191029 (🦎: 71.0a1-20191025095546) Operating System: Samsung Galaxy S8 (Android 9) - 1440 x 2960 pixels, 18.5:9 ratio (~570 ppi density)
This still occurs.
Tested with: Browser / Version: Firefox Nightly 105.0a1 (🦎 105.0a1-20220727155540) Operating System: Google Pixel 5 (Android 12) - 1080 x 2340 pixels, 19.5:9 ratio (~432 ppi density), Samsung Galaxy S8 (Android 9) - 1440 x 2960 pixels, 18.5:9 ratio (~570 ppi density)
[inv_30/2022]
URL: http://www.chery.cn/
Browser / Version: Firefox Mobile 57.0 Operating System: Android 5.1 Tested Another Browser: Yes
Problem type: Desktop site instead of mobile site Description: The page information can not be opened normally. Steps to Reproduce:
From webcompat.com with ❤️