Compare commits

..

119 Commits

Author SHA1 Message Date
Faisal Salman
2e8628aef6 Update to 2.0.6, change default font 2025-10-30 12:38:15 +07:00
Faisal Salman
df50849212 Update to include Wispr sponsorship 2025-09-27 19:24:17 +07:00
Faisal Salman
94b49a4134 Display Bot detection in user-agent playground demo 2025-09-06 20:42:52 +07:00
Faisal Salman
e803eb98bd Update license wording to be more clear 2025-09-03 13:16:11 +07:00
Faisal Salman
58f3e41dbb Add discord invite link 2025-08-18 19:21:37 +07:00
Faisal Salman
0731651be0 Simplify landing page 2025-08-16 18:22:52 +07:00
Faisal Salman
1a74d8228c Update @Cloud descriptions 2025-08-09 11:19:00 +07:00
Faisal Salman
c44614bd7d Update demo to latest version 2.0.4 2025-07-24 12:09:27 +07:00
Faisal Salman
dcdfb94ae6 New: UAParser @cloud 2025-03-27 11:21:06 +07:00
Faisal Salman
eba73ed6bb Add more test log 2024-12-17 07:17:03 +07:00
Faisal Salman
6095c4c370 Update UAParser version to 2.0.0 2024-12-16 11:10:16 +07:00
Faisal Salman
0e766a56e5 Trying chat widget 2024-11-28 19:32:08 +07:00
Faisal Salman
214036ad73 Add new segment: trivia 2024-11-19 10:50:15 +07:00
Faisal Salman
3ca332451d Update AI Bot detection 2024-11-16 22:51:48 +07:00
Faisal Salman
98456f3cd3 Update table 2024-11-14 14:30:29 +07:00
Faisal Salman
fab260050f Slight price increase 2024-10-29 19:34:38 +07:00
Alan.He
f3c2d87691 some png 404 (#753)
* fix: avant png missing

* fix: rename ppc png

images/cpu/ppc.png 404
2024-10-17 20:07:53 +07:00
Alan.He
6a165253f2 fix: Remove spaces from image names to avoid accessing the 404 (#752) 2024-10-17 10:31:22 +07:00
Faisal Salman
ab9fdd6116 Small updates 2024-09-14 18:03:27 +07:00
Faisal Salman
37b6338322 update animation 2024-06-20 19:54:58 +07:00
Faisal Salman
0583464041 Update script to latest v2.0.0.beta-3 2024-06-18 18:41:38 +07:00
Faisal Salman
405b45183f Add a quickstart section 2024-06-16 22:11:36 +07:00
Faisal Salman
cc09b124b4 Update alt attributes 2024-06-16 19:16:45 +07:00
Faisal Salman
d5ef33f37d Update CNAME 2024-06-16 17:27:25 +07:00
Faisal Salman
846bbe71b4 Update text 2024-06-10 12:55:31 +07:00
Faisal Salman
6eb187ea4c Update table for clarity 2023-11-23 11:50:45 +07:00
Faisal Salman
da75321642 Update to latest development 2023-10-09 13:08:48 +07:00
Faisal Salman
29086e01e0 Add new images 2023-09-29 21:58:14 +07:00
Faisal Salman
5897adefd7 Fix error after select 2023-09-23 10:22:18 +07:00
Faisal Salman
1461a255ea Update images & logo 2023-09-19 18:09:01 +07:00
Faisal Salman
4228e2f1ae Small changes 2023-09-16 15:12:52 +07:00
Faisal Salman
553d85a62f Add CNAME: move domain to uaparser.js.org 2023-09-14 01:02:29 +07:00
Faisal Salman
d3a6fc03ff Update sponsors section 2023-08-08 22:57:22 +07:00
Faisal Salman
47c87992e0 Add tiny analytics 2023-04-12 01:30:44 +07:00
Faisal Salman
41a254bfe4 Move docs to another repo 2023-04-11 23:11:19 +07:00
Faisal Salman
9170c67964 Initial work for docs using VitePress 2023-04-11 10:41:55 +07:00
Faisal Salman
38a6b53883 Update to version 2.0.0-alpha.2 2023-04-06 01:34:14 +07:00
Faisal Salman
6e98b2e975 Update to latest version 0.7.34 + display the getResult() data in user-agent playground 2023-03-13 22:08:22 +07:00
Faisal Salman
93a11d3c9b Create a simple test page in /test 2023-03-13 21:18:07 +07:00
Faisal Salman
bf31a2c89a Revert "Sponsorship content revision in gh-pages"
This reverts commit 707313ce39.
2023-03-08 22:45:53 +07:00
Faisal Salman
707313ce39 Sponsorship content revision in gh-pages 2023-02-28 00:38:12 +07:00
Faisal Salman
a04a77149e Card view must be fluid in mobile browser 2023-02-22 19:09:20 +07:00
Faisal Salman
b442c0401f Insert sponsorship content from 51degrees in demo page 2023-02-22 00:12:12 +07:00
Faisal Salman
e7c0d35ce6 Update description 2023-02-07 09:03:44 +07:00
Faisal Salman
882c6a4e06 Update demo library to incorporate latest change from 0.7.33 2023-01-28 20:56:14 +07:00
Faisal Salman
2d25f536a4 Create a section for backers & contributors + add some featured companies 2023-01-28 20:28:58 +07:00
Faisal Salman
6e454f64e6 Add illustration 2023-01-26 22:58:19 +07:00
Faisal Salman
2eb632f4be Fix demo blank when device.vendor undefined 2021-04-19 19:36:34 +07:00
Faisal Salman
a122c0963e Include GPU detection demo 2021-04-18 13:52:11 +07:00
Faisal Salman
c3208a2e01 Add more companies to showcase 2021-04-12 11:49:03 +07:00
Faisal Salman
cf2d82912d Add more companies to showcase 2021-04-06 12:38:51 +07:00
Faisal Salman
12eeda7a80 Revamp demo page 2021-04-01 00:44:40 +07:00
Faisal Salman
a66ec82d6c Update logo 2021-03-20 19:31:57 +07:00
Faisal Salman
6802ca791d IE11 compatibility in demo page #455 2020-12-14 23:59:15 +07:00
Faisal Salman
2fc307bcb6 Update demo page to use 0.7.23 2020-12-14 21:18:37 +07:00
Faisal Salman
5af1e70987 Merge pull request #457 from gyto23/gh-pages-ie11-fix
Fix ie11 arrow function causing not to show browser detection on demo
2020-12-01 10:32:48 +07:00
Roman Kovtun
41e5f4d705 Fix ie11 arrow function causing not to show browser detection on demo example 2020-11-16 15:15:37 -06:00
Faisal Salman
267771dc42 Merge pull request #429 from zvakanaka/gh-pages-ua-query-param
Support 'ua' Query Param on GitHub Pages
2020-08-13 13:52:40 +07:00
zvakanaka
060bceca54 prepare for PR to gh-pages 2020-06-19 16:25:18 -06:00
zvakanaka
cbd90a176b prepare for PR to gh-pages 2020-06-19 16:23:15 -06:00
zvakanaka
54118335a8 parse ?ua= if query string is there 2020-06-19 13:46:21 -06:00
Faisal Salman
787f3917a7 Merge pull request #414 from jdeniau/patch-1
Fix "lang" selector in url
2020-05-19 00:59:27 +07:00
Julien Deniau
53f3b4b2c1 tab vs spaces 2020-02-06 10:10:06 +01:00
Julien Deniau
5a21c4d7f6 Fix "lang" selector in url
location.search.match(/lang=([a-z]+)/) does return `['lang=fr', 'fr']` if it does match and thus does not found the language with the query parameter.

This commit fixes this comportment
2020-02-06 10:08:50 +01:00
Faisal Salman
89d45ef14f Update demo page to latest version 0.7.21 2020-01-01 07:35:38 +07:00
Faisal Salman
9f8bc012f6 Update demo to 0.7.19 2018-11-23 09:47:08 +07:00
Faisal Salman
bb61d8da82 update to 0.7.18 2018-05-04 23:40:15 +07:00
Faisal Salman
b8b39dcfd2 update 0.7.14 2017-09-05 13:24:19 +07:00
Faisal Salman
e20b78fa6a Merge pull request #261 from jdeniau/gh-pages
translations system + french translation
2017-09-05 02:44:45 +07:00
Julien Deniau
71f12024d1 translations system + french translation 2017-09-04 13:03:07 +02:00
Faisal Salman
2d55b7e38d update version 2017-07-19 19:46:08 +07:00
Faisal Salman
d479585818 Update to v0.7.12 2016-11-22 01:30:38 +07:00
Faisal Salman
eca492e761 Resize image 2016-11-14 00:39:10 +07:00
Faisal Salman
bce6fda72a New logo 2016-11-14 00:30:26 +07:00
Faisal Salman
6b17173566 update gh site to 0.7.11 2016-11-09 17:00:32 +07:00
Faisal Salman
0e35c2bbb0 update latest version 2015-12-12 18:19:19 +07:00
Faisal Salman
b1aef9db65 Merge branch 'gh-pages' of github.com:faisalman/ua-parser-js into gh-pages 2015-05-11 23:01:49 +07:00
Faisal Salman
3fc1238aef Update latest version 2015-05-11 23:00:20 +07:00
Faisal Salman
af25adb888 Merge pull request #72 from PeterDaveHello/patch-1
Use protocol-relative URL to load fonts
2014-10-20 23:56:08 +07:00
Peter Dave Hello
13e6d39ce1 Use protocol-relative URL to load fonts 2014-10-20 20:50:42 +08:00
Faisal Salman
b313ff826c Update latest UAParser.js 2014-10-19 13:27:21 +07:00
Faisal Salman
c78973ed45 update demo page 2014-10-19 13:14:04 +07:00
Faisal Salman
dce749d440 Fix issue #57 2014-08-05 23:34:07 +07:00
Faisal Salman
f9f87fe692 fix issue #19 #27 #47 2014-08-05 23:19:08 +07:00
Faisal Salman
f44a22042e Update UAParser to 0.5.27 2013-03-26 13:40:27 +07:00
Faisal Salman
5f01f6f343 Update script 2013-03-22 14:25:56 +07:00
Faisal Salman
dc0076248a Add webkit opera 2013-03-20 14:19:38 +07:00
Faisal Salman
c8c96ee859 Prefer using minified 2013-03-20 14:11:42 +07:00
Faisal Salman
d1b3b36981 Update script 2013-03-20 14:06:37 +07:00
Faisal Salman
f0d820d287 Update uaparser used in demo to latest version 2013-03-20 13:53:56 +07:00
Faisal Salman
ce0bb6ed4b Update lib to latest version 2013-03-05 21:26:20 +07:00
Faisal Salman
ca03805925 Update parser in demo to latest version 2012-12-05 11:51:20 +07:00
Faisal Salman
3223931d91 Fix documentation 2012-09-22 00:03:53 +07:00
Faisal Salman
1486d1c0b3 Merge branch 'master' into gh-pages 2012-09-21 23:22:51 +07:00
Faisal Salman
4a3985ed73 More demo images & ua examples 2012-09-14 23:48:28 +07:00
Faisal Salman
fd2ff2cce4 Merge branch 'master' into gh-pages 2012-09-14 05:29:29 +07:00
Faisal Salman
060b34da54 Fix uastring 2012-09-13 22:48:41 +07:00
Faisal Salman
5d199b4aa7 Merge branch 'master' into gh-pages 2012-09-13 22:06:05 +07:00
Faisal Salman
6ef48fbc69 Add visual display 2012-09-11 02:48:48 +07:00
Faisalman
be7e60a0b1 prettify 2012-08-30 03:26:28 +07:00
Faisalman
81036132f4 merge with master 2012-08-30 02:35:38 +07:00
Faisalman
1e1d34d897 Merge branch 'master' into gh-pages 2012-08-30 02:33:53 +07:00
Faisalman
1998b5e582 Update code to new method & add some mobile devices ua to examples 2012-07-29 03:31:08 +07:00
Faisalman
d1c68cf71b Merge branch 'master' into gh-pages 2012-07-29 02:39:17 +07:00
Faisalman
aa6e79f161 Follow the change from master branch 2012-03-20 16:49:45 +07:00
Faisalman
c0f52aaa12 Merge branch 'master' into gh-pages 2012-03-20 16:46:30 +07:00
Faisalman
a4e2a34002 Add Avant Browser UA string 2012-03-08 20:19:43 +07:00
Faisalman
25bc974ffb Merge branch 'master' into gh-pages 2012-03-08 20:16:19 +07:00
Faisalman
f4cc364f7b Merge branch 'master' into gh-pages 2012-03-08 19:39:29 +07:00
Faisalman
db28b80cc7 Merge branch 'master' into gh-pages 2012-03-08 19:27:25 +07:00
Faisalman
ff4761ef75 Add some other ua string 2012-03-08 19:23:17 +07:00
Faisalman
bb0c228268 Merge branch 'master' into gh-pages 2012-03-08 19:10:03 +07:00
Faisalman
43a5a5d888 Add clearer brief description 2012-03-06 17:08:54 +07:00
Faisalman
70687ecd2c Correcting my twitter username 2012-03-06 06:31:04 +07:00
Faisalman
f7237f8892 Improving layout & styling 2012-03-06 06:26:52 +07:00
Faisalman
39db73a0a8 Adding social buttons 2012-03-06 05:40:00 +07:00
Faisalman
306e48522b Little modification 2012-03-06 04:58:20 +07:00
Faisalman
be5855ecc2 Adding GOOG analytics 2012-03-05 23:22:09 +07:00
Faisalman
3382a8ad43 Add live demo page 2012-03-05 23:04:56 +07:00
388 changed files with 70048 additions and 19650 deletions

12
.github/FUNDING.yml vendored
View File

@@ -1,12 +0,0 @@
# These are supported funding model platforms
github: faisalman
patreon: # Replace with a single Patreon username
open_collective: ua-parser-js
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: ['https://www.paypal.me/faisalman/']

View File

@@ -1,43 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Library version**
Which version of the library that you use, eg: v0.7.35 or v2.0.0-alpha.3
For the issue related with detection result, you can use the demo section in https://uaparser.js.org to confirm
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.

View File

@@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@@ -1 +0,0 @@
- [ ] I have read and accept the [Contributor License Agreement (CLA)](https://gist.github.com/faisalman/2ed16621ebb544157eba85a7f7381417) Document and I hereby sign the CLA

View File

@@ -1,78 +0,0 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: CodeQL Analysis
on:
push:
branches: [ "master"]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
schedule:
- cron: '15 6 * * 0'
permissions: read-all
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
# - name: Autobuild
# uses: github/codeql-action/autobuild@v2
# Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"

View File

@@ -1,20 +0,0 @@
# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: Dependency Analysis
on: [pull_request]
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
- name: 'Dependency Review'
uses: actions/dependency-review-action@v2

View File

@@ -1,72 +0,0 @@
# This workflow uses actions that are not certified by GitHub. They are provided
# by a third-party and are governed by separate terms of service, privacy
# policy, and support documentation.
name: OpenSSF's Scorecard Analysis
on:
# For Branch-Protection check. Only the default branch is supported. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
branch_protection_rule:
# To guarantee Maintained check is occasionally updated. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
schedule:
- cron: '45 2 * * 4'
push:
branches: [ "master" ]
# Declare default permissions as read only.
permissions: read-all
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
# Needed to publish results and get a badge (see publish_results below).
id-token: write
# Uncomment the permissions below if installing in a private repository.
# contents: read
# actions: read
steps:
- name: "Checkout code"
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v2.1.2
with:
results_file: results.sarif
results_format: sarif
# (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
# - you want to enable the Branch-Protection check on a *public* repository, or
# - you are installing Scorecard on a *private* repository
# To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.
repo_token: ${{ secrets.SCORECARD_TOKEN }}
# Public repositories:
# - Publish results to OpenSSF REST API for easy access by consumers
# - Allows the repository to include the Scorecard badge.
# - See https://github.com/ossf/scorecard-action#publishing-results.
# For private repositories:
# - `publish_results` will always be set to `false`, regardless
# of the value entered here.
publish_results: true
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
with:
name: SARIF file
path: results.sarif
retention-days: 5
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 # v2.2.4
with:
sarif_file: results.sarif

View File

@@ -1,22 +0,0 @@
name: Publish to GitHub Package
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,23 +0,0 @@
name: Publish to NPM
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install -g npm
- run: npm ci
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@@ -1,23 +0,0 @@
name: UAParser.js CI-Test
on: [push, pull_request]
permissions:
contents: read
jobs:
run-test:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [amd64, ppc64le]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- name: Run the test
run: |
npm ci
npx playwright install
npm test

10
.gitignore vendored
View File

@@ -1,8 +1,9 @@
node_modules/
npm-debug.log
playwright-report/
test-results/
.vscode
### vim ###
.*.s[a-w][a-z]
*.un~
@@ -11,20 +12,17 @@ Session.vim
*~
.versions
### editors ###
.vscode
.idea
*.sublime-*
### OSX ###
.DS_Store
.AppleDouble
.LSOverride
Icon
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
.idea

View File

@@ -1,134 +0,0 @@
# UAParser.js Changelog
# Version 2.0
- What's breaking:
- Dual-licensed under AGPLv3 or PRO License
- Browser detection on mobile device: `"Chrome" => "Mobile Chrome"`, `"Firefox" => "Mobile Firefox"`
- OS detection: `"Mac OS" => "macOS"`, `"Chromium OS" => "Chrome OS"`
- What's new:
- Some new methods in result object:
- Support for client hints: `withClientHints()`
- Support for feature detection: `withFeatureCheck()`
- Utility for easy comparison: `is()`
- Utility to print full-name: `toString()`
- Support for ES module `import { UAParser } from 'ua-parser-js'`
- Provided Enums submodule `'ua-parser-js/enums'`
- Provided Extensions submodule `'ua-parser-js/extensions'`
- Provided Helpers submodule `'ua-parser-js/helpers'`
## Version 2.0.0-beta.2
- Increase UA_MAX_LENGTH to 500
- Add TypeScript declaration file in `ua-parser-js/extensions` submodule
- Improve TypeScript module resolution
- Add new methods in `ua-parser-js/helpers` submodule: `isAppleSilicon()` & `isChromiumBased()`
- Fix misidentified WebView token as device model
- Add new browser: Alipay, Klarna, Opera GX, Smart Lenovo Browser, Vivo Browser
- Rename browser: Avant, Baidu, Samsung Internet, Sogou Explorer, Sogou Mobile, WeChat
- Improve client-hints detection: Edge, Xbox
## Version 2.0.0-beta.1
- Update Client Hints Form-Factor
- Provide in-package type definitions
- Add new device: Ulefone
- Improve device detection: Realme, Xiaomi Redmi
## Version 2.0.0-alpha.3
- Add `withFeatureCheck()` method
- Add `isFrozenUA()` method in `ua-parser-js/helpers` submodule
- Add `MediaPlayers` & `Modules` in `ua-parser-js/extensions` submodule
- Fix issue with ESM import
## Version 2.0.0-alpha.2
- Fix browser result always returning Chromium when using withClientHints()
- Fix infinite-loop when await-ing withClientHints() in non-client-hints browser
## Version 2.0.0-alpha.1
- Initial work on new major version
# Version 0.7 / 1.0
Version 1.0.x is basically the equivalent of version 0.7.x. See [#536](https://github.com/faisalman/ua-parser-js/issues/536) for the reason behind this confusion.
## Version 0.7.37
- Fix misidentified WebView token as device model
- Increase UA_MAX_LENGTH to 500
- Add new browser: Alipay, Klarna, Smart Lenovo Browser, Vivo Browser
- Add new device: Ulefone
- Improve device detection: Realme, Xiaomi Redmi
- Rename browser: Avant, Baidu, Samsung Internet, Sogou Explorer, Sogou Mobile, WeChat
## Version 0.7.36 / 1.0.36
- Add new browser: Snapchat
- Add new devices: Infinix, Tecno
- Improve device detection: Amazon Fire TV, Xiaomi POCO
- Improve OS detection: iOS
## Version 0.7.35 / 1.0.35
- Fix result from user-supplied user-agent being altered
- Add new browser: Heytap, TikTok
- Add new engine: LibWeb
- Add new OS: SerenityOS
- Improve browser detection: Yandex
- Improve device detection: iPhone, Amazon Echo
- Improve OS detection: iOS
## Version 0.7.34 / 1.0.34
- Fix Sharp Mobile detected as Huawei Tablet
- Fix IE8 bug
- Add new devices : Kobo e-Reader, Apple Watch, and some new SmartTV devices
- Add new OS : watchOS
- Improve browser detection : Kakao, Naver, Brave
- Improve device detection : Oculus, iPad
- Improve OS detection : Chrome OS
- Using navigator.userAgentData as fallback for device.type & os.name
## Version 0.7.33 / 1.0.33
- Add new browser : Cobalt
- Identify Macintosh as an Apple device
- Fix ReDoS vulnerability
## Version 0.7.32 / 1.0.32
- Add new browser : DuckDuckGo, Huawei Browser, LinkedIn
- Add new OS : HarmonyOS
- Add some Huawei models
- Add Sharp Aquos TV
- Improve detection Xiaomi Mi CC9
- Fix Sony Xperia 1 III misidentified as Acer tablet
- Fix Detect Sony BRAVIA as SmartTV
- Fix Detect Xiaomi Mi TV as SmartTV
- Fix Detect Galaxy Tab S8 as tablet
- Fix WeGame mistakenly identified as WeChat
- Fix included commas in Safari / Mobile Safari version
- Increase UA_MAX_LENGTH to 350
## Version 0.7.31 / 1.0.2
- Fix OPPO Reno A5 incorrect detection
- Fix TypeError Bug
- Use AST to extract regexes and verify them with safe-regex
## Version 0.7.30 / 1.0.1
- Add new browser : Obigo, UP.Browser, Klar
- Add new device : Oculus, Roku
- Add new OS: Maemo, HP-UX, Android-x86, Deepin, elementary OS, GhostBSD, Linspire, Manjaro, Sabayon
- Improve detection for Sony Xperia 1ii, LG Android TV, and some more devices
- Improve detection for ARM64 CPU
- Improve detection for Windows Mobile, Netscape, Mac on PowerPC
- Categorize PDA as mobile
- Fix Sharp devices misjudged as Huawei
- Fix trailing comma for ES3 compatibility
- Some code refactor
# Version 0.8
Version 0.8 was created by accident. This version is now deprecated and no longer maintained, please update to version 0.7 / 1.0.

1
CNAME Normal file
View File

@@ -0,0 +1 @@
uaparser.dev

View File

@@ -1,29 +0,0 @@
# UAParser.js Code of Conduct
## Introduction
Welcome to the UAParser.js community! We're here to collaborate on developing an awesome project. Here are some general guidelines to make our community a great place:
### 1. Be Kind, Honest, and Respectful
Always treat others with kindness and respect. We value different opinions and encourage positive communication.
### 2. Keep Conversations Civil and On-Topic
Please keep discussions related to the project. If you want to talk about something else, find the right place for it.
### 3. Mutual Assistance, Appreciation, and Acknowledgement
Feel free to ask for help, show gratitude for contributions, and make sure to give credit where it's due.
### 4. Resolving Disagreements
In the event of a disagreement, we encourage open and respectful dialogue. It's important to remember that it's okay to have differing opinions, and if a common ground can't be reached, we suggest using the 'agree to disagree' approach.
## Reporting Issues
If you see any behavior that goes against this code of conduct, report it to [f@faisalman.com](mailto:f@faisalman.com).
## Conclusion
Together, we can make this project awesome!

View File

@@ -1,7 +0,0 @@
# UAParser.js: How to Contribute
* Fork and clone this repository
* Make some changes as required
* Write unit test to showcase its functionality under `/test`
* Run the test suites to make sure it's not breaking anything `$ npm run build+test`
* Submit a pull request under `develop` branch & check the CLA in the submission form

View File

@@ -1,616 +0,0 @@
# GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc.
<https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
## Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains
free software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing
under this license.
The precise terms and conditions for copying, distribution and
modification follow.
## TERMS AND CONDITIONS
### 0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public
License.
"Copyright" also means copyright-like laws that apply to other kinds
of works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of
an exact copy. The resulting work is called a "modified version" of
the earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user
through a computer network, with no transfer of a copy, is not
conveying.
An interactive user interface displays "Appropriate Legal Notices" to
the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
### 1. Source Code.
The "source code" for a work means the preferred form of the work for
making modifications to it. "Object code" means any non-source form of
a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users can
regenerate automatically from other parts of the Corresponding Source.
The Corresponding Source for a work in source code form is that same
work.
### 2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not convey,
without conditions so long as your license otherwise remains in force.
You may convey covered works to others for the sole purpose of having
them make modifications exclusively for you, or provide you with
facilities for running those works, provided that you comply with the
terms of this License in conveying all material for which you do not
control copyright. Those thus making or running the covered works for
you must do so exclusively on your behalf, under your direction and
control, on terms that prohibit them from making any copies of your
copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under the
conditions stated below. Sublicensing is not allowed; section 10 makes
it unnecessary.
### 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such
circumvention is effected by exercising rights under this License with
respect to the covered work, and you disclaim any intention to limit
operation or modification of the work as a means of enforcing, against
the work's users, your or third parties' legal rights to forbid
circumvention of technological measures.
### 4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
### 5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these
conditions:
- a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
- b) The work must carry prominent notices stating that it is
released under this License and any conditions added under
section 7. This requirement modifies the requirement in section 4
to "keep intact all notices".
- c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
- d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
### 6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms of
sections 4 and 5, provided that you also convey the machine-readable
Corresponding Source under the terms of this License, in one of these
ways:
- a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
- b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the Corresponding
Source from a network server at no charge.
- c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
- d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
- e) Convey the object code using peer-to-peer transmission,
provided you inform other peers where the object code and
Corresponding Source of the work are being offered to the general
public at no charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal,
family, or household purposes, or (2) anything designed or sold for
incorporation into a dwelling. In determining whether a product is a
consumer product, doubtful cases shall be resolved in favor of
coverage. For a particular product received by a particular user,
"normally used" refers to a typical or common use of that class of
product, regardless of the status of the particular user or of the way
in which the particular user actually uses, or expects or is expected
to use, the product. A product is a consumer product regardless of
whether the product has substantial commercial, industrial or
non-consumer uses, unless such uses represent the only significant
mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to
install and execute modified versions of a covered work in that User
Product from a modified version of its Corresponding Source. The
information must suffice to ensure that the continued functioning of
the modified object code is in no case prevented or interfered with
solely because modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or
updates for a work that has been modified or installed by the
recipient, or for the User Product in which it has been modified or
installed. Access to a network may be denied when the modification
itself materially and adversely affects the operation of the network
or violates the rules and protocols for communication across the
network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
### 7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders
of that material) supplement the terms of this License with terms:
- a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
- b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
- c) Prohibiting misrepresentation of the origin of that material,
or requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
- d) Limiting the use for publicity purposes of names of licensors
or authors of the material; or
- e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
- f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions
of it) with contractual assumptions of liability to the recipient,
for any liability that these contractual assumptions directly
impose on those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions; the
above requirements apply either way.
### 8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your license
from a particular copyright holder is reinstated (a) provisionally,
unless and until the copyright holder explicitly and finally
terminates your license, and (b) permanently, if the copyright holder
fails to notify you of the violation by some reasonable means prior to
60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
### 9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or run
a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
### 10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
### 11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims owned
or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within the
scope of its coverage, prohibits the exercise of, or is conditioned on
the non-exercise of one or more of the rights that are specifically
granted under this License. You may not convey a covered work if you
are a party to an arrangement with a third party that is in the
business of distributing software, under which you make payment to the
third party based on the extent of your activity of conveying the
work, and under which the third party grants, to any of the parties
who would receive the covered work from you, a discriminatory patent
license (a) in connection with copies of the covered work conveyed by
you (or copies made from those copies), or (b) primarily for and in
connection with specific products or compilations that contain the
covered work, unless you entered into that arrangement, or that patent
license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
### 12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under
this License and any other pertinent obligations, then as a
consequence you may not convey it at all. For example, if you agree to
terms that obligate you to collect a royalty for further conveying
from those to whom you convey the Program, the only way you could
satisfy both those terms and this License would be to refrain entirely
from conveying the Program.
### 13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your
version supports such interaction) an opportunity to receive the
Corresponding Source of your version by providing access to the
Corresponding Source from a network server at no charge, through some
standard or customary means of facilitating copying of software. This
Corresponding Source shall include the Corresponding Source for any
work covered by version 3 of the GNU General Public License that is
incorporated pursuant to the following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
### 14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Affero General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever
published by the Free Software Foundation.
If the Program specifies that a proxy can decide which future versions
of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
### 15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
CORRECTION.
### 16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR
CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT
NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM
TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
### 17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS

View File

@@ -1,22 +0,0 @@
# Prerequisites
- [ ] I have read and follow the contributing guidelines
- [ ] I have read and accept the [Contributor License Agreement (CLA)](https://gist.github.com/faisalman/2ed16621ebb544157eba85a7f7381417) Document and I hereby sign the CLA
# Type of Change
Bug fix, feature, docs update, ...
# Description
Please include a summary of the change (current behavior vs new behavior), which issue is fixed (you can also link to an open issue here), and why this change is necessary.
# Test
Please describe the tests that you ran to verify your changes.
# Impact
Does this PR introduce a breaking change? What changes might users need to make due to this PR?
# Other Info

220
README.md
View File

@@ -1,220 +0,0 @@
<p align="center">
<a href="https://uaparser.js.org"><img src="https://raw.githubusercontent.com/faisalman/ua-parser-js/gh-pages/images/uap-header.png"></a>
</p>
<p align="center">
<a href="https://www.npmjs.com/package/ua-parser-js"><img src="https://img.shields.io/npm/dw/ua-parser-js?color=red&logo=npm&label=NPM%20DOWNLOADS&style=for-the-badge"></a>
<a href="https://www.jsdelivr.com/package/npm/ua-parser-js"><img src="https://img.shields.io/jsdelivr/gh/hw/faisalman/ua-parser-js?logo=jsdelivr&style=for-the-badge"></a>
<a href="https://github.com/faisalman/ua-parser-js"><img src="https://img.shields.io/github/stars/faisalman/ua-parser-js?color=yellow&logo=github&style=for-the-badge"></a>
<a href="https://bundlephobia.com/package/ua-parser-js@1.0.35"><img src="https://img.shields.io/bundlephobia/minzip/ua-parser-js?logo=hackthebox&logoColor=white&style=for-the-badge"/></a>
<a href="https://github.com/faisalman/ua-parser-js/graphs/contributors"><img src="https://img.shields.io/github/contributors/faisalman/ua-parser-js?color=purple&logo=githubsponsors&style=for-the-badge"></a>
<a href="https://www.npmjs.com/package/ua-parser-js"><img src="https://img.shields.io/npm/v/ua-parser-js.svg?logo=npm&color=red&style=for-the-badge"></a>
<a href="https://cdnjs.com/libraries/UAParser.js"><img src="https://img.shields.io/cdnjs/v/UAParser.js.svg?color=orange&style=for-the-badge"></a>
<img src="https://img.shields.io/ossf-scorecard/github.com/faisalman/ua-parser-js?label=openssf%20scorecard&style=for-the-badge">
</p>
# UAParser.js
The most comprehensive, compact, & up-to-date JavaScript library to detect
user's Browser, Engine, OS, CPU, and Device type/model. Runs either in browser
(client-side) or node.js (server-side).
## License Options
<table>
<thead>
<tr>
<th></th>
<th colspan="2">Open-Source Editions</th>
<th colspan="3">PRO / Commercial Editions</th>
</tr>
</thead>
<tbody>
<tr>
<td>License options</td>
<td>MIT</td>
<td>AGPL</td>
<td>PRO Personal</td>
<td>PRO Business</td>
<td>PRO Enterprise</td>
</tr>
<tr>
<td>Browser detection</td>
<td><strong title="Basic detection">⚠️</strong></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>CPU detection</td>
<td><strong title="Basic detection">⚠️</strong></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Device detection</td>
<td><strong title="Basic detection">⚠️</strong></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Engine detection</td>
<td><strong title="Basic detection">⚠️</strong></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>OS detection</td>
<td><strong title="Basic detection">⚠️</strong></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Enhanced detection</td>
<td>⛔️</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Client Hints support</td>
<td>⛔️</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Extras (Apps, Bots, Libs, Emails, Media Players, etc)</td>
<td>⛔️</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>CommonJS support</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>ES modules support</td>
<td>⛔️</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>npm module available</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>TypeScript declarations available</td>
<td><strong title="Community version">⚠️</strong></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Allowed for commercial use</td>
<td></td>
<td></td>
<td>⛔️</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Permissive (non-copyleft) license</td>
<td></td>
<td><strong title="Copyleft license">⛔️</strong></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Unlimited use per 1 license</td>
<td></td>
<td></td>
<td></td>
<td><strong title="1 project per 1 license">⚠️</strong></td>
<td></td>
</tr>
<tr>
<td>1-year support</td>
<td>⛔️</td>
<td>⛔️</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Lifetime updates</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Price</td>
<td><strong title="Pay as you want">FREE</strong></td>
<td><strong title="Pay as you want">FREE</strong></td>
<td><strong title="$12 (one-time fee)">$12</strong></td>
<td><strong title="$25 (one-time fee)">$25</strong></td>
<td><strong title="$500 (one-time fee)">$500</strong></td>
</tr>
</tbody>
<tfoot>
<tr>
<th align="right" colspan="6">
<a target="_blank" href="https://store.faisalman.com/checkout/buy/e236ea87-9b2b-400e-9683-24367f731b35"> GET THE PRO PACKAGES 📥</a>
</th>
</tr>
</tfoot>
</table>
## Version 2.0
Before upgrading from `v0.7` / `v1.0`, please read [CHANGELOG](CHANGELOG.md) to
see what's new & breaking.
# Documentation
* v1.0: https://github.com/faisalman/ua-parser-js/tree/1.0.35#documentation
* v2.0: https://docs.uaparser.js.org/v2
# Development
## Contributors
Large or small, your contribution is valuable here. Please read [CONTRIBUTING](CONTRIBUTING.md)
guide first for the instruction details.
<a href="https://github.com/faisalman/ua-parser-js/graphs/contributors">
<img src="https://contrib.rocks/image?repo=faisalman/ua-parser-js" />
</a>
Made with [contributors-img](https://contrib.rocks).
## Backers & Sponsors
<a href="https://opencollective.com/ua-parser-js"><img src="https://opencollective.com/ua-parser-js/organizations.svg?avatarHeight=64"></a>
<a href="https://opencollective.com/ua-parser-js"><img src="https://opencollective.com/ua-parser-js/individuals.svg?avatarHeight=64"></a>

View File

@@ -1,7 +0,0 @@
# Security Policy
## Reporting a Vulnerability
To report a security issue, please email `f@faisalman.com` with a description of the issue, reproducible steps to get the issue, affected versions, and, if known, mitigations for the issue.
If the issue is confirmed as a vulnerability, we will open a new security advisory draft in our GitHub's Security Advisory page [https://github.com/faisalman/ua-parser-js/security/advisories](https://github.com/faisalman/ua-parser-js/security/advisories) and acknowledge your contributions as part of it. This project follows a 90 days disclosure timeline.

366
cloud/index.html Normal file
View File

@@ -0,0 +1,366 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="keywords"
content="browser detection, user-agent, ua-parser-js, rest, api, javascript, typescript, python, java, php, golang, ruby, c#, curl, detect os, mobile, tablet, detect device, cpu, nodejs, jquery, client hints, bots, iphone, ipad, android" />
<meta name="description" content="UAParser @Cloud instantly analyze user-agent data for accurate insights. Effortlessly integrate with any tech stack to our REST API or any AI agent to our MCP. Improve analytics, security, & personalization with precision.">
<meta name="application-name" content="UAParser @Cloud">
<meta property="og:title" content="UAParser @Cloud">
<meta property="og:url" content="https://uaparser.dev/cloud">
<meta property="og:image" content="https://uaparser.dev/images/uap-cloud-api.png">
<meta property="og:type" content="website">
<meta property="og:description" content="Transform User Data into Valuable Insights">
<meta property="og:locale" content="en_US">
<title>UAParser @Cloud | Understand your users. Instantly. Reliably.</title>
<link rel="stylesheet" type="text/css" href="../semantic-ui/semantic.css">
<link rel="stylesheet" type="text/css" href="../css/style.css">
<link rel="icon" type="image/png" href="../images/uap-logo.png">
<script src="../js/jquery-3.6.0.min.js"></script>
<script src="../semantic-ui/semantic.js"></script>
<script src="https://assets.lemonsqueezy.com/lemon.js" defer></script>
<script src="//code.tidio.co/hu6mx7fw2r6llmfzxj5llesd5l51q5dv.js" async></script>
</head>
<body>
<div class="pusher">
<div class="ui inverted instagram vertical masthead center aligned segment">
<div class="ui text container">
<a href="https://uaparser.dev/cloud"><h1>
UAParser @Cloud
</h1></a>
<h2>Understand your traffic better. Instantly. Reliably.</h2>
<img alt="UAParser.js Illustration" class="ui centered image illustration" src="../images/uap-cloud-header.png" />
</div>
</div>
<div class="ui text container">
<div class="ui very padded basic segment">
<div class="ui equal width stackable grid">
<div class="row">
<div class="column">
<div class="ui basic segment">
<h3 class="ui header">
<i class="bolt icon"></i>
<div class="content">Real-Time Analysis</div>
</h3>
<p>Instantly analyze each request headers for accurate insights.</p>
</div>
</div>
<div class="column">
<div class="ui basic segment">
<h3 class="ui header">
<i class="object group outline icon"></i>
<div class="content">Seamless Integration</div>
</h3>
<p>Effortlessly integrate your existing stack or AI agent to our API / MCP service.</p>
</div>
</div>
<div class="column">
<div class="ui basic segment">
<h3 class="ui header">
<i class="magic icon"></i>
<div class="content">
Optimize & Enhance
</div>
</h3>
<p>Improve analytics, security, & personalization with enhanced accuracy.</p>
</div>
</div>
</div>
</div>
<h3 class="ui dividing header" id="pricing">Pricing<div class="sub header">Monthly API traffics</div></h4>
<table class="ui center aligned collapsing celled unstackable compact table">
<thead>
<tr>
<th>Free</th>
<th>Starter</th>
<th>Growth</th>
<th>Scale</th>
<th>Business</th>
<th>Enterprise</th>
</tr>
</thead>
<tbody>
<tr>
<td>1,000 reqs
</td>
<td>25,000 reqs
</td>
<td>100,000 reqs
</td>
<td>250,000 reqs
</td>
<td>1,000,000 reqs
</td>
<td>10,000,000
</td>
</tr>
<tr>
<td>
<p class="ui center aligned">FREE</p>
</td>
<td>
<h2 class="ui center aligned header">$5</h2>
</td>
<td>
<h2 class="ui center aligned header">$15</h2>
</td>
<td>
<h2 class="ui center aligned header">$25</h2>
</td>
<td>
<h2 class="ui center aligned header">$50</h2>
</td>
<td>
<h2 class="ui center aligned header">$450</h2>
</td>
</tr>
<tr>
<td>
<button class="ui grey small button" disabled>SIGNUP</button>
</td>
<td>
<button class="ui grey small button" disabled>SIGNUP</button>
</td>
<td>
<button class="ui grey small button" disabled>SIGNUP</button>
</td>
<td>
<button class="ui grey small button" disabled>SIGNUP</button>
</td>
<td>
<button class="ui grey small button" disabled>SIGNUP</button>
</td>
<td>
<button class="ui grey small button" disabled>SIGNUP</button>
</td>
</tr>
</tbody>
</table>
<div id="demo" class="ui horizontal divider">
UNDER DEVELOPMENT
</div>
<div class="ui basic segment">
<img alt="UAParser.js Illustration" class="ui centered image illustration" src="../images/uap-cloud-api.png" />
</div>
<div class="ui basic segment">
<form class="ui form" id="signupForm" method="post">
<h3 class="ui dividing header">Coming Soon in 3.. 2..</h3>
<p>Be the first to know when UAParser @Cloud API/MCP is live! Subscribe now and get exclusive early access, updates, and special offers.</p>
<div class="two fields">
<div class="field">
<label for="name">Name</label>
<input type="text" name="name" id="name" placeholder="Your Name (Optional)" />
</div>
<div class="field">
<label for="email">Email</label>
<input type="email" name="email" id="email" required placeholder="your@email (Required)" />
</div>
</div>
<button class="ui large red button" type="submit"><i class="icon mail"></i> NOTIFY ME <i class="icon arrow circle right"></i></button>
<div id="loader" style="display:none">Submitting...</div>
</form>
</div>
</div>
</div>
<div class="ui instagram inverted vertical footer segment">
<div class="ui container">
<div class="ui stackable inverted divided equal height stackable grid">
<div class="three wide column">
<h4 class="ui inverted header">About</h4>
<div class="ui inverted link list">
<a href="https://uaparser.dev" target="_blank" class="item">UAParser.js</a>
<a href="https://store.faisalman.com/checkout/buy/e236ea87-9b2b-400e-9683-24367f731b35" target="_blank" class="item">PRO</a>
<a href="https://github.com/faisalman/ua-parser-js" target="_blank" class="item">GitHub</a>
<a href="https://www.npmjs.com/package/ua-parser-js" target="_blank" class="item">npm</a>
<a href="mailto:cloud@uaparser.dev" target="_blank" class="item">Contact Us</a>
</div>
</div>
<div class="three wide column">
<h4 class="ui inverted header">Services</h4>
<div class="ui inverted link list">
<a href="#" class="item">FAQ</a>
<a href="#pricing" class="item">Pricing</a>
<a href="https://docs.uaparser.dev" target="_blank" class="item">Documentation</a>
<a id="terms-link" target="_blank" class="item">Terms & Conditions</a>
<a id="privacy-link" target="_blank" class="item">Privacy Policy</a>
</div>
</div>
<div class="seven wide column">
<h4 class="ui inverted header">UAParser @cloud</h4>
<p>Copyright (c) 2025 Faisal Salman &lt;cloud@uaparser.dev&gt;</p>
</div>
</div>
</div>
</div>
</div>
<div class="ui mini modal" id="submission-modal">
<div class="header">Thank You!</div>
<div class="content">
<p>Your submission is received. We'll be in touch as soon as we're ready! Stay tuned 🚀</p>
<p></p>
</div>
<div class="actions">
<div class="ui ok green button">OK</div>
</div>
</div>
<div class="ui modal" id="terms-modal">
<div class="header">Terms & Conditions</div>
<div class="content">
<div class="ui sub header">
Introduction
</div>
<p>Welcome to UAParser @cloud. By accessing or using our service, you agree to these Terms & Conditions.</p>
<div class="ui sub header">
Use of Service
</div>
<ul>
<li>UAParser @cloud provides a cloud-based user-agent parsing service.</li>
<li>You agree to use the service only for lawful purposes and not to disrupt or abuse the system.</li>
<li>We reserve the right to modify or discontinue the service at any time.</li>
</ul>
<div class="ui sub header">
Account Registration & Security
</div>
<ul>
<li>You may need to create an account to access certain features.</li>
<li>You are responsible for maintaining the confidentiality of your credentials and for all activities under your account.</li>
<li>We may suspend or terminate accounts involved in fraudulent or abusive activities.</li>
</ul>
<div class="ui sub header">
Payment & Refund Policy
</div>
<ul>
<li>Certain features of UAParser @cloud may require payment.</li>
<li>Payments are non-refundable except where required by law or explicitly stated in a separate agreement.</li>
<li>If you believe you are eligible for a refund, contact our support team at <a href="mailto:cloud@uaparser.dev">cloud@uaparser.dev</a></li>
</ul>
<div class="ui sub header">
Service Availability & Limitations
</div>
<ul>
<li>We strive to keep UAParser @cloud available and reliable but do not guarantee uninterrupted service.</li>
<li>We are not liable for any data loss, service interruptions, or damages resulting from the use of our service.</li>
</ul>
<div class="ui sub header">
Intellectual Property
</div>
<ul>
<li>All rights, title, and interest in UAParser @cloud remain with us.</li>
<li>You may not copy, modify, or distribute any part of our service without prior authorization.</li>
</ul>
<div class="ui sub header">
Termination
</div>
<p>We may suspend or terminate your access to UAParser @cloud at our discretion if you violate these terms.</p>
<div class="ui sub header">
Changes to Terms
</div>
<p>We may update these Terms & Conditions from time to time.</p>
<div class="ui sub header">
Contact Us
</div>
<p>For any questions regarding these Terms & Conditions, please contact us at <a href="mailto:cloud@uaparser.dev">cloud@uaparser.dev</a></p>
</div>
<div class="actions">
<div class="ui ok green button">OK</div>
</div>
</div>
<div class="ui modal" id="privacy-modal">
<div class="header">Privacy Policy</div>
<div class="content">
<div class="ui sub header">
Introduction
</div>
<p>Welcome to UAParser @Cloud. This Privacy Policy explains how we collect, use, and protect your information when you use our service.</p>
<div class="ui sub header">
Information We Collect
</div>
<ul>
<li>Usage Data: We may collect non-personal device and browser information, including user-agent strings, to provide accurate parsing services.</li>
<li>Account Information: If you create an account, we may collect your name, email address, and billing details.</li>
<li>Logs & Analytics: We may store logs for service improvement and security purposes.</li>
</ul>
<div class="ui sub header">
How We Use Your Information
</div>
<ul>
<li>To provide and improve our UAParser @Cloud services.</li>
<li>To enhance security and prevent fraudulent activities.</li>
<li>To communicate service updates and respond to inquiries.</li>
</ul>
<div class="ui sub header">
Data Sharing & Security
</div>
<p>We do not sell or share your personal data with third parties, except as required by law.</p>
<div class="ui sub header">
Your Rights & Choices
</div>
<ul>
<li>You may request access, correction, or deletion of your personal data.</li>
<li>You can opt out of non-essential communications.</li>
</ul>
<div class="ui sub header">
Changes to This Policy
</div>
<p>We may update this Privacy Policy from time to time. Continued use of the service after changes indicates your acceptance.</p>
<div class="ui sub header">
Contact Us
</div>
<p>If you have any questions, please contact us at <a href="mailto:cloud@uaparser.dev">cloud@uaparser.dev</a></p>
</div>
<div class="actions">
<div class="ui ok green button">OK</div>
</div>
</div>
<script>
const STORE = 'uaparserjs';
const form = document.getElementById('signupForm');
const loadingMessage = document.getElementById('loader');
const formUrl = `https://${STORE}.lemonsqueezy.com/email-subscribe/external`;
const redirectUrl = 'https://uaparser.dev/cloud'; // Use your own URL here
form.addEventListener('submit', async (e) => {
e.preventDefault();
showLoading();
try {
const response = await fetch(formUrl, {
method: 'POST',
body: new FormData(e.target),
});
if (!response.ok) {
throw new Error("Subscription failed.");
}
$('#submission-modal').modal('setting', 'transition', 'vertical flip').modal('show');
} catch (error) {
alert(`Sorry, there was an issue: ${error}`);
} finally {
hideLoading();
}
});
function showLoading() {
form.querySelector('button').disabled = true;
loadingMessage.style.display = 'block';
}
function hideLoading() {
form.querySelector('button').disabled = false;
loadingMessage.style.display = 'none';
}
$('#privacy-modal').modal('attach events', '#privacy-link', 'show');
$('#terms-modal').modal('attach events', '#terms-link', 'show');
</script>
</body>
</html>

147
css/style.css Normal file
View File

@@ -0,0 +1,147 @@
html {
scroll-behavior: smooth;
}
code,
.code {
font-family: 'Source Code Pro', 'Courier New', Courier, monospace;
}
strong.subtle{
color: rgba(0, 0, 0, 0.7)
}
.hljs-punctuation, .hljs-tag {
color: rgba(255, 255, 255, 0.3);
}
.ui.horizontal.divider {
margin: 3rem 0 2rem;
}
.hidden.menu {
display: none;
}
.masthead a h1 {
color: #fff;
font-weight: bold;
font-size: 5rem;
padding: 2em 0 0 0;
}
.masthead h2 {
font-weight: normal;
margin: 0 0 2em 0;
}
.masthead.inverted.segment {
background-color: #6435c9;
padding: 0;
}
.masthead.segment {
min-height: 600px;
padding: 1em 0em;
}
.masthead .ui.menu .ui.button {
margin-left: 0.5em;
}
.masthead h3 {
background-color: black;
padding: 42.5vh 0;
font-size: 5rem;
}
.masthead .ui.horizontal.divider {
padding: 3em;
margin: 0;
}
.masthead .ui.massive.buttons {
margin: 2rem 0 5rem;
}
#featured .segment::before,
#featured .segment::after,
#featured .segment {
background: #ffffeb;
}
#featured h1 .headline {
font-family: "EB Garamond", "Source Sans Pro", "Helvetica Neue", Arial, Helvetica, sans-serif;
font-size: 3rem;
font-weight: 400;
letter-spacing: -.05em;
line-height: .85;
}
.instagram.masthead.inverted.segment {
background: #6435c9;
background-image: linear-gradient(to left top, #6435c9, #7143d0, #7e51d6, #8a5edd, #966ce3);
box-shadow: 0px 3px 10px rgba(0,0,0,.25);
}
.instagram.footer.inverted.segment {
background: #6435c9;
background-image: linear-gradient(to right bottom, #6435c9, #7143d0, #7e51d6, #8a5edd, #966ce3);
box-shadow: 0px 3px 10px rgba(0,0,0,.25);
}
.ui.image.illustration {
width:1000px;
}
.ui.vertical.stripe {
padding: 8em 0em;
}
.ui.vertical.stripe h3 {
font-size: 2em;
}
.ui.vertical.stripe .button + h3,
.ui.vertical.stripe p + h3 {
margin-top: 3em;
}
.ui.vertical.stripe .floated.image {
clear: both;
}
.ui.vertical.stripe p {
font-size: 1.33em;
}
.ui.vertical.stripe .horizontal.divider {
margin: 3em 0em;
}
.quote.stripe.segment {
padding: 0em;
}
.quote.stripe.segment .grid .column {
padding-top: 5em;
padding-bottom: 5em;
}
.footer.segment {
padding: 5em 0em;
}
.footer p {
color: #fff;
}
.secondary.pointing.menu .toc.item {
display: none;
}
@media only screen and (max-width: 700px) {
.ui.fixed.menu {
display: none !important;
}
.secondary.pointing.menu .item,
.secondary.pointing.menu .menu {
display: none;
}
.secondary.pointing.menu .toc.item {
display: block;
}
#demo-result > .row > .column,
#showcase .ui.stackable.grid > .row > .column {
width: 33.3% !important;
}
.masthead h3 {
font-size: 2em;
}
}
.what-provides {
font-size: 1rem;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.05em;
}

1
dist/ua-parser.html vendored
View File

@@ -1 +0,0 @@
<script src="./ua-parser.min.js"></script>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

8
images/Flow-symbol.svg Normal file
View File

@@ -0,0 +1,8 @@
<svg width="187" height="187" viewBox="0 0 187 187" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect y="-0.00576019" width="187" height="187" rx="40" fill="#1A1A1A"/>
<path d="M48.1303 41.598C46.1328 41.598 44.2093 42.3748 42.8037 43.7804C41.361 45.1861 40.5842 47.1096 40.5842 49.0701V137.848C40.5842 138.847 40.7692 139.808 41.1391 140.733C41.509 141.658 42.0639 142.472 42.7667 143.174C43.4695 143.877 44.2833 144.432 45.2081 144.802C46.1328 145.172 47.0946 145.357 48.0933 145.357C50.0908 145.357 52.0144 144.58 53.42 143.174C54.8257 141.769 55.6395 139.882 55.6395 137.885V49.0701C55.6395 47.0726 54.8626 45.1861 53.42 43.7804C52.0144 42.3748 50.0908 41.598 48.0933 41.598H48.1303Z" fill="#FFFFEB"/>
<path d="M93.4069 58.5766C92.4081 58.5766 91.4464 58.7615 90.5216 59.1314C89.5968 59.5014 88.783 60.0562 88.0802 60.759C87.3774 61.4619 86.8225 62.2757 86.4526 63.2004C86.0827 64.1252 85.8608 65.0869 85.8608 66.0487V120.166C85.8608 122.164 86.6376 124.05 88.0802 125.456C89.4859 126.861 91.4094 127.638 93.4069 127.638C95.4044 127.638 97.3279 126.861 98.7336 125.456C100.139 124.05 100.953 122.164 100.953 120.166V66.0487C100.953 64.0512 100.176 62.1647 98.7336 60.759C97.3279 59.3534 95.4044 58.5766 93.4069 58.5766Z" fill="#FFFFEB"/>
<path d="M70.7647 89.1309C68.7672 89.1309 66.8437 89.9077 65.4381 91.3134C64.0324 92.719 63.2186 94.6056 63.2186 96.6031V127.453C63.2186 129.451 63.9954 131.337 65.4381 132.743C66.8437 134.149 68.7672 134.925 70.7647 134.925C72.7622 134.925 74.6858 134.149 76.0914 132.743C77.497 131.337 78.3108 129.451 78.3108 127.453V96.6031C78.3108 94.6056 77.534 92.719 76.0914 91.3134C74.6858 89.9077 72.7622 89.1309 70.7647 89.1309Z" fill="#FFFFEB"/>
<path d="M138.686 41.598C137.687 41.598 136.725 41.7829 135.8 42.1528C134.876 42.5227 134.062 43.0776 133.359 43.7804C132.656 44.4832 132.101 45.297 131.731 46.2218C131.361 47.1466 131.14 48.1083 131.14 49.0701V137.848C131.14 139.845 131.916 141.732 133.359 143.137C134.765 144.543 136.688 145.32 138.686 145.32C140.683 145.32 142.607 144.543 144.012 143.137C145.418 141.732 146.232 139.845 146.232 137.848V49.0701C146.232 47.0726 145.455 45.1861 144.012 43.7804C142.607 42.3748 140.683 41.598 138.686 41.598Z" fill="#FFFFEB"/>
<path d="M116.043 89.1309C114.046 89.1309 112.122 89.9077 110.717 91.3134C109.311 92.719 108.497 94.6056 108.497 96.6031V127.453C108.497 129.451 109.274 131.337 110.717 132.743C112.122 134.149 114.046 134.925 116.043 134.925C118.041 134.925 119.964 134.149 121.37 132.743C122.776 131.337 123.59 129.451 123.59 127.453V96.6031C123.59 94.6056 122.813 92.719 121.37 91.3134C119.964 89.9077 118.041 89.1309 116.043 89.1309Z" fill="#FFFFEB"/>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

10
images/attrs.txt Normal file
View File

@@ -0,0 +1,10 @@
image sources:
======================
http://iconfinder.com
http://iconarchive.com
http://wikimedia.org
http://distrowatch.com
https://github.com/alrra/browser-logos
https://www.flaticon.com/
https://logo.wine/
https://icon-icons.com/

BIN
images/bots-traffic.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 823 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

BIN
images/browsers/amigo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
images/browsers/arora.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
images/browsers/avant.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

BIN
images/browsers/axis.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
images/browsers/baidu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
images/browsers/beaker.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
images/browsers/bezilla.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
images/browsers/brave.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
images/browsers/browsh.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
images/browsers/camino.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
images/browsers/chrome.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
images/browsers/co rom.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
images/browsers/coast.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
images/browsers/coc coc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
images/browsers/cruz.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
images/browsers/default.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
images/browsers/dolphin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
images/browsers/edge.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
images/browsers/epic.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
images/browsers/falkon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
images/browsers/fennec.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
images/browsers/firefox.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
images/browsers/flock.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
images/browsers/hermes.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
images/browsers/icab.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
images/browsers/iceape.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

BIN
images/browsers/icecat.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
images/browsers/ie.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

BIN
images/browsers/jsdom.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

BIN
images/browsers/line.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
images/browsers/links.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
images/browsers/maxthon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
images/browsers/midori.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
images/browsers/miui.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
images/browsers/mosaic.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
images/browsers/mozilla.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
images/browsers/netsurf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
images/browsers/nw.js.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
images/browsers/omniweb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
images/browsers/opera.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
images/browsers/orca.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

BIN
images/browsers/otter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
images/browsers/puffin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Some files were not shown because too many files have changed in this diff Show More