Windows Tablet detection RRS feed

  • Domanda

  • Hello,

    we are searching for a way to detect if the edge browser is running on a mobile device. Android and iOS detection works well with library. In the useragent is the platform included and therefore it is possible to detect them. On a windows tablet (in our test case a "Dell Venue 11 Pro") there is no hint

    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586

    Pointer-Events are also no sufficient information source because detecting touch could be a touch screen or the touch pad (like every notebook have).

    Therefore the question:
    How can we detect the tablet mode on windows using javascript?


    lunedì 23 ottobre 2017 16:55