Use the back key to close the tab if there are no pages to go back to. When it closes, go to the tab that created it.
This extension allows using the back key to go back to where you came from if it would normally have no pages to go back to.
To try it, open a new tab from a link, and then press the backspace key (note: this will not work within the web store; and if a form field is selected you need to tab out of it. It also obviously cannot work when Adobe Flash (or another plugin) is focused, as this captures key presses).
-- Tip: if you use a keyboard key or mouse button that does not appear to work in Last Tab Back, you can set up a custom key in the options page. Click on the box and try your key. If this still doesn't work, you might be able to set up a custom key in the keyboard or mouse software (possibly only for Chrome) and then try setting the custom key again in the options page. --
Pressing backspace / a custom key / clicking the LastTabBack button will go back as usual, until there are no such pages. Then it will close the tab and go back to the tab that opened this one.
This allows you to open new tabs and then go back where you came from without having to remember whether it was a new tab or a normal click to navigate - pressing backspace will take you back to the results either way.
You can also press Ctrl+Backspace to just go back to the tab that opened this one without closing the current tab, if you wish to leave this page to view later.
The extension also modifies the usual tab behavior to go back to the tab that opened this one when you close a tab.
--
Check out my other extension - search the web store for tabtiles.
--
Release history:
0.8.0.3 - Manifest V3 updates and other bug fixes
0.7.3 - Changed the custom key system to allow shift key modifiers e.g. Shift + Chosen Key (for more flexibility with non-standard mouse button binding)
0.7.2 - Fixed a bug where clicking on a Google Search result was occasionally selecting the owner tab.
0.7.0 - Initial release