We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bowser.parse platform output is empty when parsing Smart TV User Agents. I used example user agent strings in this URL. https://developers.whatismybrowser.com/useragents/explore/operating_platform/smart-tv/
Example code
var ua = "Mozilla/5.0 (SMART-TV; Linux; Tizen 2.4.0) AppleWebkit/538.1 (KHTML, like Gecko) SamsungBrowser/1.1 TV Safari/538.1"; var parsedResult = bowser.parse(ua); console.log(parsedResult); // outputs { browser: { name: "Samsung Internet for Android" version: "1.1" }, os: { name: "Tizen" version: "2.4.0" }, platform: { }, engine: { name: "WebKit" version: "538.1" } } // expected output { browser: { name: "Samsung Internet for Android" version: "1.1" }, os: { name: "Tizen" version: "2.4.0" }, platform: { type: "tv" }, engine: { name: "WebKit" version: "538.1" } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bowser.parse platform output is empty when parsing Smart TV User Agents. I used example user agent strings in this URL.
https://developers.whatismybrowser.com/useragents/explore/operating_platform/smart-tv/
Example code
The text was updated successfully, but these errors were encountered: