mirror of
https://github.com/jbranchaud/til
synced 2026-08-31 16:51:46 +00:00
Add Duplicate Current Browser Tab as a Chrome TIL
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user