0
私は、このスクリプトを使用しています:Chromeでのローカルストレージの使用状況を確認するにはどうすればよいですか?
window.navigator.webkitTemporaryStorage.queryUsageAndQuota(function(used, remaining) {
console.log('Used space', used);
console.log('Remaining space', remaining);
}, function(err) {
console.warn(err);
});
を私は得る:
undefined
Used space 0
Remaining space 5027736601
期待どおりに動作します。このコードであなたの問題は何ですか? – rafaelcastrocouto