Skip to content

Simple methods to test the browser's user agent string.

Notifications You must be signed in to change notification settings

gravitydepartment/user-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Gravity Department

GravDept User Agent

Simple methods to test the browser's user agent string.

Dependencies

  • None

Usage

Include the script in your page:

<script src="path/to/user-agent.js"></script>

And call the methods you need:

if (userAgent.isOldIos() || userAgent.isOldAndroid()) {
    // Warn users their browser is outdated.
}

About

Simple methods to test the browser's user agent string.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published