https://github.com/timolins/useragent-from-seed
Pick a random user agent with a seed
https://github.com/timolins/useragent-from-seed
Last synced: 5 months ago
JSON representation
Pick a random user agent with a seed
- Host: GitHub
- URL: https://github.com/timolins/useragent-from-seed
- Owner: timolins
- Created: 2018-03-07T20:21:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-15T23:05:39.000Z (about 7 years ago)
- Last Synced: 2024-12-22T09:38:21.290Z (5 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# useragent-from-seed
Pick a random User Agent with seed support._Results are not truly random. They are based on a list containing Windows, macOS, Android and iOS agents._
## Usage
```js
const useragentFromSeed = require('useragent-from-seed')// Usage with seed
useragentFromSeed('MY SEED') // Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.36 ...
useragentFromSeed('MY SEED') // Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.36 ...// Usage without seed
useragentFromSeed() // Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.55.3 ...
useragentFromSeed() // Mozilla/5.0 (Linux; U; Android 2.1; en-us; Nexus One Build/ERD62) ...
```## Credits
All User Agents are taken from [User Agent Switcher](https://addons.mozilla.org/de/firefox/addon/user-agent-switcher/)