Navigator: storage プロパティ
安全なコンテキスト用: この機能は一部またはすべての対応しているブラウザーにおいて、安全なコンテキスト (HTTPS) でのみ利用できます。
Navigator.storage
は読み取り専用プロパティで、現在のサイトまたはアプリケーションでブラウザーのストレージ機能全体にアクセスするために使用される単一の StorageManager
オブジェクトを返します。
返されたオブジェクトを使用すると、データストアの維持を調査および構成したり、ブラウザーがローカルストレージの利用に利用できるスペースのおおよその容量を確認したりすることができます。
値
StorageManager
オブジェクトは、格納されたデータの永続性を維持するために使用することができます。また、データが格納されるための大まかな容量を確認することもできます。
仕様書
Specification |
---|
Storage # dom-navigatorstorage-storage |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | server | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
storage |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.