From 74e71cf1af63f3cfada1075a2ce97cbdc317c90e Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Wed, 19 Aug 2026 12:05:08 -0500 Subject: [PATCH] Add Duplicate Current Browser Tab as a Chrome TIL --- README.md | 3 ++- chrome/duplicate-current-browser-tab.md | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 chrome/duplicate-current-browser-tab.md diff --git a/README.md b/README.md index 9174323..5f61123 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ working across different projects via [VisualMode](https://www.visualmode.dev/). For a steady stream of TILs, [sign up for my newsletter](https://visualmode.kit.com/newsletter). -_1866 TILs and counting..._ +_1867 TILs and counting..._ See some of the other learning resources I work on: @@ -148,6 +148,7 @@ If you've learned something here, support my efforts writing daily TILs by - [Access A Value Logged To The Console](chrome/access-a-value-logged-to-the-console.md) - [Chrome Supports Many Unix Keyboard Shortcuts](chrome/chrome-supports-many-unix-keyboard-shortcuts.md) - [Copy Some Data From The Console](chrome/copy-some-data-from-the-console.md) +- [Duplicate Current Browser Tab](chrome/duplicate-current-browser-tab.md) - [Duplicate The Current Tab](chrome/duplicate-the-current-tab.md) - [Easier Access To Network Throttling Controls](chrome/easier-access-to-network-throttling-controls.md) - [Keybinding To Focus The Address Bar](chrome/keybinding-to-focus-the-address-bar.md) diff --git a/chrome/duplicate-current-browser-tab.md b/chrome/duplicate-current-browser-tab.md new file mode 100644 index 0000000..63b68d7 --- /dev/null +++ b/chrome/duplicate-current-browser-tab.md @@ -0,0 +1,24 @@ +# Duplicate Current Browser Tab + +Let's say I'm on a specific page within a web app. Maybe I'm typing out a +comment on that page. Before I can hit submit, I need to reference something +elsewhere in the app, perhaps on the previous page. + +I can `cmd+t` to open a new tab, type out the URL, hit enter, and then navigate +around until I find the page I'm looking for. I do this exact thing sometimes, +but it feels slow and clunky. + +The other way I accomplish this which feels way smoother is to _duplicate the +current tab_. I can do that by `cmd`-clicking the reload button next to the URL +bar. + +This opens another tab at the same URL with the same navigation history. I can +switch to that tab and hit the back button to go to the previous page, find the +thing I wanted to reference, and then return to the previous tab to finish what +I was doing. + +To give a more concrete example: this happens all the time with GitHub PR +comments where I want to copy the URL or number of a specific PR to reference in +a comment I'm leaving on the current PR. Duplicating the tab, going _back_ to +the PR index view, finding the other PR, and copying its URL -- to me that is a +quicker flow popping open a fresh browser tab.