When a tab is duplicated in Chrome, is sessionStorage
also duplicated?
I noticed that in IE it is not.
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.
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.
getEntriesByType("navigation")[0]). type for check duplicate tab in browser. If type value is back_forward , that value is duplicate tab.
Duplicate Tab Shortcut. Press Alt+Shift+D to duplicate the current tab (Option+Shift+D on Mac).
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
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With