silently write tab data

Tab data is not too significant.
This commit is contained in:
buzz-lightsnack-2007 2024-05-05 14:18:04 +08:00
parent a1d19d3561
commit 87cac58d57

View file

@ -21,7 +21,7 @@ class pointer {
} catch(err) {} } catch(err) {}
// Get the last edited site. // Get the last edited site.
return((URL) ? global.write([`last`], URL, -1) : false); return((URL) ? global.write([`last`], URL, -1, {"silent": true}) : false);
} }
/* /*
@ -39,7 +39,7 @@ class pointer {
(await global.read([`last`])) (await global.read([`last`]))
? (Object.keys(state)).forEach(async (key) => { ? (Object.keys(state)).forEach(async (key) => {
await global.write([`sites`, await global.read([`last`]), key], state[key], -1); await global.write([`sites`, await global.read([`last`]), key], state[key], -1, {"silent": true});
}) })
: false; : false;
} }