Detecting browsers with JavaScript

There are a number of web browsers available today (and have been for long time), with each of them...

Detecting platforms with JavaScript

The platform or OS of client machine can be determined with the navigator.platform obje...

Detecting mobile devices with JavaScript

To make the script compatible for mobile phone or tablets, we can rely on navigator....

Detecting capability with JavaScript

Capability detection refers to checking a web-browser and collecting information of the features it supports (or doesn't). It is different from

Cookies in JavaScript

HTTP is a stateless protocol where

Subcookies in JavaScript

Browsers have a limit on number of cookies that can be stored per domain. This limit is ove...

DOM storage

DOM storage is a mechanism that is used to store string values in key:value pairs. It is similar to

The sessionStorage object

The session storage stores the data till the user's session expires, i.e. user closes its browser window. The session object survives page refresh. In some browsers the value i...

The localStorage object

The local storage is similar to session storage except it stores data...

The globalStorage object

The global storage is a non-standard feature and has been obsolete since Gecko 13.0. Hence implementin...