Web/API/NavigatorStorage/storage

From Get docs

Secure contextThis feature is available only in secure contexts (HTTPS), in some or all supporting browsers.


The NavigatorStorage.storage read-only property returns the singleton StorageManager object used to access the overall storage capabilities of the browser for the current site or app. The returned object lets you examine and configure persistence of data stores and learn approximately how much more space your browser has available for local storage use.

Syntax

var storageManager = navigator.storage;

Value

A StorageManager object you can use to maintain persistence for stored data, as well as to determine roughly how much room there is for data to be stored.

Specifications

Specification Status Comment
StorageThe definition of 'navigator.storage' in that specification. Living Standard Initial definition.

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
storage Chrome

?

Edge

?

Firefox Full support 57


Full support 57


Full support 51

Disabled'

Disabled' From version 51: this feature is behind the dom.storageManager.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.

IE

?

Opera

?

Safari

?

WebView Android

?

Chrome Android

?

Firefox Android Full support 51

Disabled'

Full support 51

Disabled'

Disabled' From version 51: this feature is behind the dom.storageManager.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.

Opera Android

?

Safari iOS

?

Samsung Internet Android

?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown
User must explicitly enable this feature.'
User must explicitly enable this feature.


See also