diff --git a/index.html b/index.html index 666a6e5..f6db3c7 100644 --- a/index.html +++ b/index.html @@ -24,7 +24,9 @@

-

{UAParser.js} abstracts away the hassle of User-Agent detection by turning them into a set of simple & meaningful data so you can focus on what really matters.

Now, detecting browser is as simple as UAParser().getBrowser() +

{UAParser.js} detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data with relatively small footprint (~17KB minified, ~6KB gzipped) that can be used either in browser (client-side) or node.js (server-side).

+ +

Now, detecting browser is as simple as ua.getBrowser()

@@ -35,10 +37,13 @@
-

This is what we get from your User-Agent data:

+

+ {UAParser.js} abstracts away the hassle of User-Agent detection by turning them into a set of simple & meaningful data. As an example, this is what we get from your browser's User-Agent information:

+

+ {UAParser.js} reads this as:

diff --git a/js/script.js b/js/script.js index f33fe0a..52939eb 100644 --- a/js/script.js +++ b/js/script.js @@ -109,17 +109,17 @@ $(document) $('#demo-select').dropdown({ values: values, onChange: function (val) { - $('#ua-txt-info').text('Result for:'); + $('#ua-txt-info').text('For a given user-agent:'); updateDemo(val); } }); $('#demo-btn').click(function() { - $('#ua-txt-info').text('Result for:'); + $('#ua-txt-info').text('For a given user-agent:'); updateDemo($('input[name=custom-ua]').val()); }); $('input[name=custom-ua]').keypress(function (e) { if (e.which == 13) { - $('#ua-txt-info').text('Result for:'); + $('#ua-txt-info').text('For a given user-agent:'); updateDemo($(this).val()); return false; }