awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
hgoebl avatar

hgoebl/mobile-detect.js

0
View on GitHub↗
4,137 stars·868 forks·JavaScript·MIT·20 viewshgoebl.github.io/mobile-detect.js↗

Mobile Detect.js

mobile-detect.js is a JavaScript library for user agent detection. It analyzes browser request headers to identify hardware types, operating systems, and browser versions.

The library includes a client hardware profiler that assigns performance and capability grades to mobile devices based on their characteristics. It also provides tools to apply specific CSS classes to the document body based on detected hardware to enable responsive styling.

The project covers broad analysis capabilities, including the detection of mobile phones, tablets, and desktop computers. It extracts operating system names and version numbers and validates browser signatures against known patterns.

Features

  • Hardware Device Identification - Analyzes user agent strings to identify if a visitor is using a mobile phone, tablet, or desktop computer.
  • User Agent Detection Libraries - Provides a comprehensive JavaScript library for identifying hardware, operating systems, and browsers by analyzing user agent strings.
  • Browser and OS Identification - Detects web browsers by matching user agents against known browser-specific identity tokens.
  • Visitor Identification - Identifies whether a visitor is using a mobile phone, tablet, or desktop based on user agent strings.
  • Operating System Detection - Extracts the operating system name and version numbers from browser request headers.
  • Browser Environment Detection - Detects the primary browser or matching browser signatures present in the user agent string.
  • User Agent Detectors - Parses browser request headers to extract version numbers and operating system identifiers.
  • Device and OS Detectors - Extracts operating system names and version numbers from browser request headers for device classification.
  • Device Type Detection - Identifies whether a visitor is using a mobile phone, tablet, or desktop computer via user agent analysis.
  • Capability Profiling - Profiles client hardware to assign performance grades and characteristics based on agent strings.
  • Performance Grading - Assigns a performance or capability grade to a mobile device based on its detected hardware characteristics.
  • Device Detection Utilities - Checks user agent strings against device names or keyword lists to confirm a hardware match.
  • CSS Class-Based Styling - Applies specific CSS classes to the document body based on detected hardware to enable responsive styling.
  • Client Capability Grading - Assigns a capability grade to mobile devices based on hardware to adjust the level of delivered functionality.
  • Device Performance Grading - Assigns performance and capability grades to mobile devices to help determine the level of functionality to deliver.
  • User Agent Signature Analysis - Validates user agent strings against known browser patterns and device signatures for identification.

Star history

Star history chart for hgoebl/mobile-detect.jsStar history chart for hgoebl/mobile-detect.js

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Mobile Detect.js

These projects share indexed features with Mobile Detect.js. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • bowser-js/bowserbowser-js avatar

    bowser-js/bowser

    5,739View on GitHub↗

    Bowser is a browser detection library that parses user-agent strings to identify a browser's name, version, rendering engine, and operating system. It functions as a user-agent parser and version constraint checker, extracting structured browser and platform details from raw user-agent strings without external dependencies. The library distinguishes itself by integrating User-Agent Client Hints alongside traditional user-agent data for more accurate browser identification in modern environments. It provides cross-platform browser detection that works consistently across desktop and mobile ope

    JavaScriptbrowserbrowser-detectionbrowser-detector
    View on GitHub↗5,739
  • matthewhudson/current-devicematthewhudson avatar

    matthewhudson/current-device

    3,934View on GitHub↗

    current-device is a JavaScript device detection library used to identify operating systems, device categories, and screen orientations within a web browser environment. It serves as a browser environment detector and client-side mapper that translates browser metadata and user-agent strings into predefined device labels and hardware categories. The library provides tools for executing specific JavaScript logic based on the detected mobile or desktop platform. It also functions as a conditional styling tool and document body class injector, applying descriptive HTML classes to enable device-sp

    TypeScriptdevice-detectionjavascriptmobile
    View on GitHub↗3,934
  • jenssegers/agentjenssegers avatar

    jenssegers/agent

    4,813View on GitHub↗

    This project is a PHP user agent parser and mobile device detector. It analyzes HTTP user agent strings to identify the visitor's web browser, operating system, and device type. The library provides a dedicated integration for the Laravel web framework. It distinguishes between mobile phones, tablets, and desktop computers while identifying web robots and the specific names of search engine crawlers. The tool's capabilities include extracting preferred languages from request headers and verifying specific user agent properties. It uses regular expression pattern matching and static data mapp

    PHP
    View on GitHub↗4,813
  • faisalman/ua-parser-jsfaisalman avatar

    faisalman/ua-parser-js

    10,140View on GitHub↗

    ua-parser-js is a JavaScript library used to extract browser, operating system, and device information from raw user agent strings and client hints. It functions as a cross-platform tool that runs in both web browsers and Node.js server environments to identify web visitors. The library integrates modern HTTP client hint headers to retrieve hardware and browser details with higher accuracy than standard string parsing. It also includes a specialized detector to identify automated AI agents, web crawlers, and bots to distinguish human traffic from automated scripts. The project covers hardwar

    JavaScriptanalyticsbot-detectionbrowser-detection
    View on GitHub↗10,140
Compare all 30 related projects→

Frequently asked questions

What does hgoebl/mobile-detect.js do?

mobile-detect.js is a JavaScript library for user agent detection. It analyzes browser request headers to identify hardware types, operating systems, and browser versions.

What are the main features of hgoebl/mobile-detect.js?

The main features of hgoebl/mobile-detect.js are: Hardware Device Identification, User Agent Detection Libraries, Browser and OS Identification, Visitor Identification, Operating System Detection, Browser Environment Detection, User Agent Detectors, Device and OS Detectors.

Which projects share features with hgoebl/mobile-detect.js?

Projects with overlapping indexed features include: bowser-js/bowser — Bowser is a browser detection library that parses user-agent strings to identify a browser's name, version, rendering… matthewhudson/current-device — current-device is a JavaScript device detection library used to identify operating systems, device categories, and… jenssegers/agent — This project is a PHP user agent parser and mobile device detector. It analyzes HTTP user agent strings to identify… faisalman/ua-parser-js — ua-parser-js is a JavaScript library used to extract browser, operating system, and device information from raw user… ai/browserslist — Browserslist is a browser compatibility configuration tool and a shared specification that synchronizes target browser… devicekit/devicekit — DeviceKit is a hardware library for iOS that provides a value-type replacement for device specifications and system…