Show:

Q.Browser Class

A tool for detecting user browser parameters.

Item Index

Methods

Properties

Methods

detect

() Object static

The only public method, detect() returns a hash consisting of these elements: "name": Name of the browser, can be 'mozilla' for example. "mainVersion": Major version of the browser, digit like '9' for example. "OS": Browser's operating system. For example 'windows'. "engine": Suggested engine of the browser, can be 'gecko', 'webkit' or some other.

Returns:

Properties

info

Object

Useful info about the page and environment