This commit is contained in:
Xes
2025-08-14 22:44:47 +02:00
parent 8ce45119b6
commit 791cb748ab
39112 changed files with 975901 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
// Quota Storage Management API
// This API can be used to check how much quota an origin is using and request more
// Currently only implemented in Chrome.
// https://developers.google.com/chrome/whitepapers/storage
// By Addy Osmani
Modernizr.addTest('quotamanagement', function(){
var storage = Modernizr.prefixed('StorageInfo', window);
return !!(storage && 'TEMPORARY' in storage && 'PERSISTENT' in storage);
});