Skip to content
New issue

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

Support Hbbtv #8

Merged
merged 21 commits into from
Nov 14, 2022
Merged

Support Hbbtv #8

merged 21 commits into from
Nov 14, 2022

Conversation

garritfra
Copy link
Owner

Adds support for HbbTv information.

For example:

    var parser = new UAParser();
    console.log(parser.getResult());

    var uastring = "Opera/9.80 (Linux mips; U; HbbTV/1.1.1 (;Sony; KDL32CX525; PKG4.027EUA; 2011;);; en) Presto/2.7.61 Version/11.00";
    parser.setUA(uastring);
    var result = parser.getResult();

    console.log(result.hbbtv);
    /*
            {
                version: "1.1.1",
                capabilities: "",
                "vendor": "Sony",
                "model": "KDL32CX525",
                "software": "PKG4.027EUA",
                "hardware": "2011"
            },
    */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant