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

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 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·4 vueshgoebl.github.io/mobile-detect.js↗

Mobile Detect.js

mobile-detect.js est une bibliothèque JavaScript pour la détection de l'agent utilisateur (user agent). Elle analyse les en-têtes de requête du navigateur pour identifier les types de matériel, les systèmes d'exploitation et les versions de navigateur.

La bibliothèque inclut un profileur de matériel client qui attribue des notes de performance et de capacité aux appareils mobiles en fonction de leurs caractéristiques. Elle fournit également des outils pour appliquer des classes CSS spécifiques au corps du document en fonction du matériel détecté afin d'activer un style réactif.

Le projet couvre de larges capacités d'analyse, y compris la détection des téléphones mobiles, des tablettes et des ordinateurs de bureau. Il extrait les noms et numéros de version des systèmes d'exploitation et valide les signatures de navigateur par rapport à des modèles connus.

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.

Historique des stars

Graphique de l'historique des stars pour hgoebl/mobile-detect.jsGraphique de l'historique des stars pour hgoebl/mobile-detect.js

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Mobile Detect.js

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Mobile Detect.js.
  • bowser-js/bowserAvatar de bowser-js

    bowser-js/bowser

    5,739Voir sur 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
    Voir sur GitHub↗5,739
  • matthewhudson/current-deviceAvatar de matthewhudson

    matthewhudson/current-device

    3,934Voir sur 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
    Voir sur GitHub↗3,934
  • jenssegers/agentAvatar de jenssegers

    jenssegers/agent

    4,813Voir sur 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
    Voir sur GitHub↗4,813
  • faisalman/ua-parser-jsAvatar de faisalman

    faisalman/ua-parser-js

    10,140Voir sur 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
    Voir sur GitHub↗10,140
Voir les 30 alternatives à Mobile Detect.js→

Questions fréquentes

Que fait hgoebl/mobile-detect.js ?

mobile-detect.js est une bibliothèque JavaScript pour la détection de l'agent utilisateur (user agent). Elle analyse les en-têtes de requête du navigateur pour identifier les types de matériel, les systèmes d'exploitation et les versions de navigateur.

Quelles sont les fonctionnalités principales de hgoebl/mobile-detect.js ?

Les fonctionnalités principales de hgoebl/mobile-detect.js sont : 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.

Quelles sont les alternatives open-source à hgoebl/mobile-detect.js ?

Les alternatives open-source à hgoebl/mobile-detect.js incluent : 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…