You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Tobie Langel bfd7f12966 Update package.json 8 years ago
.gitignore Add gitignore. 10 years ago
Procfile Initial commit. 10 years ago
README.md Fix README. 10 years ago
index.js Fix stuff. 9 years ago
options.json Initial commit. 10 years ago
package.json Update package.json 8 years ago

README.md

uapbot

This bot does only one thing: parse a user agent string and print what browser, OS and device it refers to. It's built on top of Jerk, a bot library for node.js.

To summon it just type:

uapbot: user agent string

So for example:

uapbot: Mozilla/5.0 (BlackBerry; U; BlackBerry 9320; en-GB) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.1.0.398 Mobile Safari/534.11+

will print:

yournick: User Agent: Blackberry WebKit 7.1.0; Operating System: BlackBerry OS 7.1.0.398; Device: BlackBerry 9320.