我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

This interface provides access to a DOM window's client side storage objects. All DOM windows inherit from this interface.
Gecko 1.8.1
Gecko 8.0
Inherits from: nsISupports Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)

In Gecko 8.0 this interface has been merged into nsIDOMWindow, and this interface has been removed.


Attribute Type Description
globalStorage nsIDOMStorageList Global storage, accessible by domain. Read only.
localStorage nsIDOMStorage Local storage for the current browsing context. Data stored in local storage may only be accessed from the same origin that inserted the data into storage in the first place. Read only.
moz_indexedDB nsIIDBFactory Indexed Databases for the current browsing context. Read only.
sessionStorage nsIDOMStorage Session storage for the current browsing context. Data stored in session storage may be accessed by any site in the browsing context. Read only.

See also


最近更新: wbamberg,