Create UA override for baidu properties
Categories
(Web Compatibility :: Interventions, enhancement, P2)
Tracking
(Not tracked)
People
(Reporter: karlcow, Assigned: denschub)
References
Details
Attachments
(2 files)
See Previously Bug 945963
But also the discussion in
- https://github.com/webcompat/web-bugs/issues/1372#issuecomment-461318632
- https://github.com/webcompat/web-bugs/issues/3149#issuecomment-245115678
The domains which need UA override are
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
After Diana from Softvision pinged me, I did some testing again, and discovered that tests results of earlier patches were... unreliable. I don't know exactly what's going on here, but on some devices, like my x86 emulator, it works, while on others, it doesn't. I assume that Baidus server-side UA sniffing is not only looking at the browser, but is also looking at the android version, and is doing different checks based on that. My Android 7 emulator works, while the Android 10 emulator doesn't. But my debug tablet, which is an android 10 tablet, also works. Since this is server-side, I have no idea what's going on here, and I couldn't figure it out. So it's easier if we just override the entire UA string with something we can confirm working once.
Diana, this is the bug for the Baidu interventions. The goal is here not directly to fix a broken website, but rather to receive the same version than Chrome does. For some sites, we do receive a different versions without us intervening. I prepared a build that should be 100% working all the time. You can download the .apk here. Could you do me a favor and test that this works now? As I said, the goal is that we receive the same version as Chrome (the same look and feel) on the following pages:
Hi, verified the format of the sites on Samsung Galaxy S9(Android 8), Sony Xperia Z5(Android 7) on the provided try build - Firefox Nightly 68.6a1(2020-03-04)-Build ID: 20200304090322, through comparison with Chrome browser version 80.0.3987.119
- baidu.com
- https://baike.baidu.com
- https://image.baidu.com
- https://news.baidu.com
- https://tieba.baidu.com
- https://wenku.baidu.com
- https://zhidao.baidu.com
Note:
- It seems that on Fennec for https://baike.baidu.com, there is a banner which can be seen only partially please check screens for Fennec in comparison with Chrome.
- For https://image.baidu.com in case of putting the app in background and bring it to foreground than the page flickers.
- For Samsung Galaxy Note9(Android 9) there is a difference between the displayed version:
- For https://image.baidu.com there is a difference between Fennec and Chrome versions
Assignee | ||
Comment 5•5 years ago
|
||
Updated•5 years ago
|
Description
•