Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Duplicate Tab copying sessionStorage in Chrome

When a tab is duplicated in Chrome, is sessionStorage also duplicated?

I noticed that in IE it is not.

like image 519
user3254314 Avatar asked Jan 30 '14 17:01

user3254314


People also ask

How do I get rid of duplicate tabs in Chrome?

The hotkey Alt + Shift + W will close all duplicate tabs in one go. The shortcut isn't customizable. Speaking of which, you can always use the undo close tab shortcut in Chrome/Firefox (Ctrl + shift + T) to get your tabs back in case you closed something by mistake.

How do I stop my tabs from duplicating?

Add “Unique Tabs” to your Chrome to suspend duplicate tabs upon opening a new tab or navigating to a new page. As compared to other extensions, Unique Tabs displays a notification before closing tab. Clicking “Cancel” in the notification within a delay of 5 seconds will prevent the tab from being closed.

How do I find duplicate tabs in Chrome?

getEntriesByType("navigation")[0]). type for check duplicate tab in browser. If type value is back_forward , that value is duplicate tab.

How do you replicate a tab?

Duplicate Tab Shortcut. Press Alt+Shift+D to duplicate the current tab (Option+Shift+D on Mac).


1 Answers

In Chrome, Yes. And you've hit on an important distinction. The contents of sessionStorage is "copied" not "shared". Any changes made to sessionStorage after the tab is duplicated are not reflected in the other tab's sessionStorage.

like image 120
donavon Avatar answered Sep 22 '22 13:09

donavon