Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.
/ ua.js Public archive

A very small user-agent (browser) and device detection library.

License

Notifications You must be signed in to change notification settings

g13n/ua.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UA.js

ua.js is a very small library to detect user-agents (browsers) and devices. The library has methods to detect specific browsers (major ones) and also support for detecting class of browsers (like Gecko, WebKit, etc.)

Usage

if (UA.isOpera()) {
    // Opera browser
}
if (UA.isTV()) {
    // I'm running on a TV!
}

About

A very small user-agent (browser) and device detection library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published