Как отозвать постоянное хранилище в Chrome? - PullRequest
0 голосов
/ 19 мая 2018

Чтобы сделать хранение в Chrome постоянным, можно получить this :

if (navigator.storage && navigator.storage.persist) navigator.storage.persist()
.then(granted => {
    if (granted) console.log("Storage will not be cleared except by explicit user action");
    else console.log("Storage may be cleared by the UA under storage pressure.");
});

НО КАК ПОЛНОСТЬЮ УДАЛИТЬ УСТОЙЧИВОСТЬ программно?

...