https://github.com/torann/agent.js
Easily get information about the browser.
https://github.com/torann/agent.js
Last synced: about 1 month ago
JSON representation
Easily get information about the browser.
- Host: GitHub
- URL: https://github.com/torann/agent.js
- Owner: Torann
- License: other
- Created: 2017-02-02T20:12:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-29T20:41:31.000Z (almost 7 years ago)
- Last Synced: 2025-02-15T05:43:43.463Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Agent Information
Easily get information about the browser.
## Getting Started
You can install the plugin using Bower:
```bash
bower install agent.js
```## Available Information:
```js
window.agentDetails.screen;
window.agentDetails.viewport;
window.agentDetails.zoom;
window.agentDetails.pixelRatio;
window.agentDetails.browser;
window.agentDetails.browserVersion;
window.agentDetails.browserMajorVersion;
window.agentDetails.mobile;
window.agentDetails.os;
window.agentDetails.osVersion;
window.agentDetails.cookies;
```