demo · v144

Shared Storage Note

Probe for the Shared Storage API and try the recommended replacement — origin-scoped localStorage. The demo writes and reads using the same key shapes Shared Storage used, all bounded to this origin.

Shared Storage status:

recommended replacement — origin-scoped localStorage

no calls yet

the API (removed) and replacement

// REMOVED in Chrome 144
// await window.sharedStorage.set('key', 'value');
// await window.sharedStorage.get('key');

// REPLACEMENT — origin-scoped localStorage
localStorage.setItem('key', 'value');
const v = localStorage.getItem('key');
// Origin scoping is enforced by the browser — no cross-site leak risk.

see also