5
如何使用本地存儲來存儲多個變量的值?本地存儲是否有任何限制?所有瀏覽器當前支持本地存儲?我如何使用本地存儲來存儲多個變量的值?
如何使用本地存儲來存儲多個變量的值?本地存儲是否有任何限制?所有瀏覽器當前支持本地存儲?我如何使用本地存儲來存儲多個變量的值?
下面是關於HTML5本地存儲限制 HTML5 localStorage size limit for subdomains
關於瀏覽器商量好了,這裏是一個列表,
Firefox 3.5, Safari 4, IE8, Chrome 4+: HTML5 localStorage; these modern browsers all support the core localStorage functionality defined in the HTML5 draft.
Firefox 2.x and 3.0: Gecko globalStorage, a very early implementation similar to HTML5’s localStorage.
Safari 3.1 & 3.2: HTML5 Database Storage, because Safari 3.1 and 3.2 don’t support HTML5 localStorage.
IE6, IE7: userData persistence, a rarely used IE feature for associating string data with an element on a web page and persisting it between pageviews.
Google Chrome Pre 4: Gears Database API, which is built into earlier versions of Chrome and thus doesn’t require a separate install.
下面是支持此功能的瀏覽器ALIST。 https://stackoverflow.com/questions/1194784/which-browsers-support-html5-offline-storage
沒有爲變量的數量沒有限制,對於使用HTML5本地存儲的詳細說明可發現here
標準尺寸是每個域5或10 MB –