DEMO: window.sessionStorage (raw)

Add new item (XYZ='foo') to sessionStorage.


Clear sessionStorage.


Reload this page by using an anchor tag.


Reload this page by using window.open.


Open a new tab/window by using an anchor tag (target=_blank)


Open a new window duplicates the current window and copies the sessionStorage into the new tab/window.


Content in SessionStorage (color based on TAB_ID)