--- title: StorageManager slug: Web/API/StorageManager tags: - API - Interface - NeedsTranslation - Persistence - Quotas - Reference - Secure context - Storage - Storage API - StorageManager - TopicStub - Usage translation_of: Web/API/StorageManager ---
{{securecontext_header}}{{SeeCompatTable}}{{APIRef("Storage")}}
The StorageManager
interface of the the Storage API provides an interface for managing persistance permissions and estimating available storage. You can get a reference to this interface using either {{domxref("navigator.storage")}} or {{domxref("WorkerNavigator.storage")}}.
true
if the user agent is able to persist your site's storage.true
if persistence has already been granted for your site's storage.Specification | Status | Comment |
---|---|---|
{{SpecName('Storage','#storagemanager','StorageManger')}} | {{Spec2('Storage')}} | Initial definition. |
{{Compat("api.StorageManager")}}