mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Update navigator test to include storage.quota
This commit is contained in:
parent
87790c9731
commit
36b54f3ab5
2 changed files with 18 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
(function(){
|
||||
(async function(){
|
||||
"use strict";
|
||||
|
||||
const values = {};
|
||||
|
@ -10,6 +10,8 @@
|
|||
values[property] = value;
|
||||
}
|
||||
});
|
||||
const storage = await navigator.storage.estimate();
|
||||
values.storage_quota = storage.quota.toString(10);
|
||||
|
||||
const ports = [];
|
||||
const sources = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue