goog.labs.userAgent.device
Functions
expand_more
isDesktop() → boolean
boolean
Parameters | None. | ||
---|---|---|---|
Returns |
|
expand_more
isMobile() → boolean
boolean
Currently we detect the iPhone, iPod and Android mobiles (devices that have both Android and Mobile in the user agent string).
Parameters | None. | ||
---|---|---|---|
Returns |
|
expand_more
isTablet() → boolean
boolean
Currently we detect Kindle Fire, iPad, and Android tablets (devices that have Android but not Mobile in the user agent string).
Parameters | None. | ||
---|---|---|---|
Returns |
|