Open ArkiLKK opened 2 years ago
Reproduced in Chrome 98 as well
Seems to be related to QUOTA_BYTES_PER_ITEM quota exceeded
error
Possible solution might be
"permissions": ["unlimitedStorage"]
Documentation can be found here
Code to fulfil the ban list
var i = 0;
var max = 200;
function insert() {
var t = (new Array(10)).fill(undefined).map(x=> Math.round(Math.random()*10)).reduce((acc,values)=> acc+values, '');
window['banname'].value = t;
window.document.forms['ban-form'].dispatchEvent(new Event('submit'));}
var c = setInterval(()=> {
if (i>max) {clearInterval(c);}
i++;
insert();
}, 1000);
Concern: switching to another type of storage might kill user's settings. Migration might be required.
Hi @ArkiLKK
After some investigation I found that unlimitedStorage
doesn't solve your problem. But chrome.storage.local.set
does. Unfortunately, this leads to loosing all previous settings which probably will upset some users.
The migration is an option, but before diving into this I would kindly ask you about the reason of having such large list of banned. Might be blocking author/blog/hub will help you to get the same result without having extra long list?
You cannot hide more than 209 users. 210 is no longer added to the Ban list. Checked in the Vivaldi browser.