Vivaldi、Windows Mobile 和 Edge 未被检测到

Hello,

I use two main OS and browsers (I paste user agents for the record):

  • Edge on Windows 10 Mobile (Lumia phone)
    Mozilla/5.0 (Windows Phone 10.0; Android 6.0.1; Microsoft; Lumia 640 LTE Dual SIM) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Mobile Safari/537.36 Edge/15.15063
  • Vivaldi on Windows 7
    Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 Vivaldi/2.1.1337.36

But in the two Discourse sites I use, MetaBrainz running Discourse 2.2.0.beta3 and meta running Discourse 2.2.0.beta4, in Recently Used Devices section:

  • Vivaldi is seen as Google Chrome on both Discourse sites
  • Windows 10 Mobile is seen as Android Device on both Discourse sites
  • Edge is seen as Google Chrome on 2.2.0.beta3 (seems OK Microsoft Edge on 2.2.0.beta4, though)

Vivaldi does not occur anywhere in code.

For Windows Phone detection, I do see it, but maybe it’s not used in Recently Used Devices screen:

We don’t want to go down this path though:

Vivaldi is at 0.05% market share, we ought to do Yandex and UC Browser well before it, and then when do we stop? At the moment to keep things simple our detection simply should stop at Opera, which technically is almost Chrome cause it runs Blink but still.

Windows mobile is almost dead, Microsoft started killing it in 2017.

The only impact of these nits are cosmetic in the list of sessions.

7 个赞

哦,是的,当然。我只是想把它记下来,以防其他人也在疑惑为什么他们的会话看起来是这样的。

无论如何,Discourse 在这些情况下运行得非常好(可能是因为它们似乎基于 Chrome)。

我不期望会有修复,因为这仅涉及会话列表。
我原本以为你可能也在用这些来做统计或其他用途,所以觉得告诉你一声可能值得。:slight_smile:
这也是为什么我只是在 Contribute > Feature (关于现有 Discourse 功能的讨论,如何改进或增强它们,以及提议的新功能如何运作。) 下写了这个,而不是在 Contribute > Bug 下。:slight_smile:

1 个赞