rafaelp/css_browser_selector

New UA string for Windows 8.1

ninapavlich opened this issue · 1 comments

Hi,

Windows 8.1 user the user agent string now reads "Windows NT 6.3..."

I think this can be addressed by changing line 110 of css_browser_selector_dev.js to say:
(is('windows nt 6.2') || is('windows nt 6.3')?' win8'

Thanks!

Win 8.1 is a significant enough point release that I prefer to give it a new line. Good post though. We should really create a maintained fork of this project somewhere.

(is('windows nt 6.3')?' win8.1'
                    :is('windows nt 6.2')?' win8'
                    :is('windows nt 6.1')?' win7'
                    :is('windows nt 6.0')?' vista'
                    :is('windows nt 5.2') || is('windows nt 5.1') ? ' win_xp' 
                    :is('windows nt 5.0')?' win_2k'
                    :is('windows nt 4.0') || is('WinNT4.0') ?' win_nt'
                    : ''
                    )