From 846bbe71b46bb3f467b2e575c0cb8553aa559a31 Mon Sep 17 00:00:00 2001 From: Faisal Salman Date: Mon, 10 Jun 2024 12:55:31 +0700 Subject: [PATCH] Update text --- css/style.css | 9 ++++++- index.html | 74 ++++++++++++++++----------------------------------- js/script.js | 2 +- 3 files changed, 32 insertions(+), 53 deletions(-) diff --git a/css/style.css b/css/style.css index f5ca19f..7c32c2c 100644 --- a/css/style.css +++ b/css/style.css @@ -124,4 +124,11 @@ display: none; #showcase .ui.stackable.grid > .row > .column { width: 33.3% !important; } -} \ No newline at end of file +} + +.what-provides { + font-size: 1rem; + font-weight: bold; + text-transform: uppercase; + letter-spacing: 0.05em; +} \ No newline at end of file diff --git a/index.html b/index.html index 2149b83..f56f6b6 100644 --- a/index.html +++ b/index.html @@ -40,8 +40,8 @@
Try Demo - Download Read Docs + Download
@@ -70,19 +70,22 @@
-

- {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:

-
-
-

- In addition with some browser-supplied data, {UAParser.js} will transforms it into a well-structured format:

+
+

+ What your browser provides = 😱😵‍💫❓ +

+
+ VS +
+

+ What {UAParser.js} provides = 🙂👍🎉 +

+
@@ -174,7 +177,7 @@
- +
@@ -219,11 +222,7 @@
Extract Only What's Valuable
-

User-Agent string as of today is a mess. On the other hand, there is no reliable way to identify user details.

-

{UAParser.js} filters the noise away & extracts - only the most meaningful data: Browser, Engine, OS, - CPU, & Device in a well-structured format.

+

{UAParser.js} filters the noise away and only extracts the most meaningful data in a well-structured format.

@@ -232,14 +231,7 @@
Relatively Small Footprint
-

{UAParser.js} starts from and is optimized to be used within browser. - While it covers a vast range of detection, the size - always kept to be as light as possible.

-

For extra cache performance, {UAParser.js} also - available in popular CDN services: jsDelivr / CDNJS

+

While {UAParser.js} covers a vast range of detection, on the other hand its size is always kept to be as light as possible.

@@ -250,11 +242,7 @@ Zero-deps Vanilla JS
-

No - dependencies. No bloated framework. No transpiler needed. No unnecessary boilerplate. No large-sized files required.

-

Just a good ol' ES3-compatible syntax that is able to - run on relatively old browsers while also performs - on most modern devices.

+

No dependencies, bloated framework, unnecessary boilerplate, transpiler, or large-sized files required.

@@ -267,13 +255,7 @@ 100% Free & Open Source -

Licensed under open-source terms, - {UAParser.js} is free to use & modify at no charge. PRO licenses also available for non-open-source purpose.

-

Contribute back in form of a PR, or donate if you find it - helpful for your business.

+

{UAParser.js} is free to use & modify at no charge. PRO licenses also available if you need a non-free license.

@@ -284,12 +266,7 @@ Best Developer Experience
-

For jQuery user, {UAParser.js} automatically detects - and generates a plugin as $.ua

-

Also, for TypeScript user, there is a - community-maintained types: @types/ua-parser-js

+

{UAParser.js} generates a plugin for jQuery user, and provides predefined type for TypeScript user.

@@ -298,11 +275,7 @@
Client-side & Server-side
-

Whether it's a client-side webpage running in a browser, or a server-side node.js app, simply type:

$ npm i ua-parser-js +

{UAParser.js} is an isomorphic JavaScript library that's able to run either in browser or node.js environment.

@@ -1218,7 +1191,7 @@

Contributors
Those who collaborate and - continuosly improve this library to be awesome
+ continuously improve this library to be awesome

@@ -1281,15 +1254,14 @@ OpenCollective - Openbase + +
-

Licensed under AGPLv3 license. Copyright (c) 2012-2023 Faisal Salman.

+

Licensed under AGPLv3 license. Copyright (c) 2012-2024 Faisal Salman.

diff --git a/js/script.js b/js/script.js index ee02987..dbe29a6 100644 --- a/js/script.js +++ b/js/script.js @@ -107,7 +107,7 @@ $(document) qs = new URLSearchParams(window.location.search).get('ua'); } if (qs) { - $('#ua-txt-info').text('For a given user-agent:'); + $('#ua-txt-info').text('What the browser provides 😱😵‍💫❓'); $('#ua-txt').get(0).scrollIntoView(); updateDemo(UAParser(qs)); } else {