class js.Browser
Available on js
Class Fields
static function createXMLHttpRequest():XMLHttpRequest
Creates an XMLHttpRequest, with a fallback to ActiveXObject for ancient versions of Internet Explorer.
static function getLocalStorage():Storage
Safely gets the browser's local storage, or returns null if localStorage is unsupported or disabled.
static function getSessionStorage():Storage
Safely gets the browser's session storage, or returns null if sessionStorage is unsupported or disabled.