Detecting browsers, platforms, devices, and capabilities

OBJECT DESCRIPTION
navigator.appVersion Detects browser version.
navigator.platform Detects platform (OS).
navigator.plugins Detects if a browser has plugins.
navigator.userAgent Detects browsers and mobile devices.

Cookies methods and properties

NAME TYPE DEFINITION DESCRIPTION
document.cookie cookie object Creates a cookie and also reads and manipulates a cookie.
Domain cookie property A domain for which a cookie is valid.
Expires cookie property A timestamp defining expiration time for a cookie.
Name cookie property A name of a cookie.
Path cookie property A path to which a cookie will be sent to.
Secure cookie property If existing, a cookie will be sent only if a SSL connection is used.
Value cookie property a value of a cookie.

DOM storage methods and properties

NAME DEFINITION DESCRIPTION
clear() method Clears data from storage.
getItem() method Returns a value from key:value pair.
key() method Returns the key from key:value pair.
length property Returns length of items that are stored.
setItem() method Stores a value for the key:value pair.