IMHO: its 2018 and any browser sniffing has to be dropped at all, as it has no use anyway and its not working reliable... what for do we need this at all?
even in 2009 it was considered bad: https://www.sitepoint.com/why-browser-sniffing-stinks/ and in case that is not enough, read what the guy that invented modernizr has to say: http://farukat.es/journal/2011/02/499-lest-we-forget-or-how-i-learned-whats-so-bad-about-browser-sniffing/ btw: https://github.com/HaraldWalker/user-agent-utils -> this is EOL, guess why... https://github.com/pieroxy/java-user-agent-detection/releases -> last release from september 2017... ----- Ursprüngliche Mail ----- > Von: "Maxim Solodovnik" <solomax...@gmail.com> > An: dev@wicket.apache.org > Gesendet: Mittwoch, 28. März 2018 18:04:03 > Betreff: [DISCUSSION] WICKET-6544 mobile browser detection > Hello All, > > While reviewing WICKET-6544 Martin propose to use JS library for this task > Here are some examples: > https://github.com/pieroxy/java-user-agent-detection or > https://github.com/HaraldWalker/user-agent-utils > > WDYT > > -- > WBR > Maxim aka solomax