ahand / mobileesp

MobileESP
Apache License 2.0
172 stars 77 forks source link

Detect newer Smart TVs #6

Open zackb opened 9 years ago

zackb commented 9 years ago

Amazon Fire TVs and Samsung Smart TVs are classified as android and linux respectively. https://developer.amazon.com/public/solutions/devices/fire-tv/docs/user-agent-strings http://developer.samsung.com/technical-doc/view.do?v=T000000203

Mozilla/5.0 (Linux; U; Android 4.2.2; en-us; AFTB Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30

Mozilla/5.0 (SMART-TV; Linux; Tizen 2.3) AppleWebkit/538.1 (KHTML, like Gecko) SamsungBrowser/1.0 TV Safari/538.1

userAgent = mozilla/5.0 (linux; u; android 4.2.2; en-us; aftb build/jdq39) applewebkit/534.30 (khtml, like gecko) version/4.0 mobile safari/534.30
    httpAccept = 
    initCompleted = true
    isWebkit = true
    isMobilePhone = true
    isIphone = false
    isAndroid = true
    isAndroidPhone = true
    isTierTablet = false
    isTierIphone = true
    isTierRichCss = false
    isTierGenericMobile = false

]

ahand commented 9 years ago

Thanks for bringing this to my attention, Zack. Yes, I'll need to fix those. Please give me a week or so to make the time.