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.

Latest Version

Version
0.8.0.4
Update
June 23, 2024
Size
97.62KiB
Developer
Category
Users
757
Rating
2.8 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
Tabs
ActiveTab
WebNavigation
Scripting
Storage
Alarms
See more

Last Tab Back Extension

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
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "background": { "service_worker": "lasttabback-service-worker.js" }, "content_scripts": [ { "js": [ "lasttabback-default.js", "lasttabback-content-script.js" ], "run_at": "document_end", "matches": [ "http://*/*", "https://*/*" ], "css": [ "lasttabback-alert.css" ] } ], "options_page": "options.html", "name": "Last Tab Back", "description": "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.", "version": "0.8.0.4", "minimum_chrome_version": "88", "action": { "default_icon": "icons/back.png", "default_title": "Last Tab Back - Click to go back, or close and go to the last tab if there are no more pages (Backspace works too)" }, "icons": { "16": "icons/16x16.png", "32": "icons/32x32.png", "48": "icons/48x48.png", "128": "icons/128x128.png" }, "permissions": [ "tabs", "activeTab", "webNavigation", "scripting", "storage", "alarms" ], "host_permissions": [ "http://*/*", "https://*/*" ]}
Read more

Similar Extensions

icon

Close on Back Extension · Productivity 757 30 ★ 18.36KiB

icon

Last Tabs Extension · Developer Tools 757 20 ★ 41.36KiB

icon

Last Tab Keepalive Extension · Productivity 757 67 ★ 8.49KiB

icon

Keep One Pinned Tab Extension · Productivity 757 57 ★ 17.5KiB

icon

Keep Last Two Tabs Extension · Productivity 757 71 ★ 102KiB

icon

SimpleLastTab Extension · Productivity 757 28 ★ 5.25KiB

icon

Middle Click To Go Back Extension · Productivity 757 30 ★ 15.21KiB

icon

Don't Close Window With Last Tab Extension · Productivity 757 149 ★ 18.05KiB

icon

Pin Last Tab Extension · Accessibility 757 4 ★ 11.71KiB

icon

Switch Last Tabs Extension · Productivity 757 273 ★ 72.94KiB

icon

Close This Tab Extension · Productivity 757 67 ★ 237KiB

icon

Last Tab Keeper Extension · Productivity 757 69 ★ 15.04KiB

icon

FLST Chrome Extension · Productivity 757 41 ★ 107KiB

icon

Do not close browser with last tab Extension · Productivity 757 10 ★ 30.88KiB

icon

Close Tab Extension · Accessibility 757 69 ★ 168KiB

icon

TabsPlus Extension · Productivity 757 245 ★ 50.52KiB

icon

Double Click Closes Tab Extension · Productivity 757 282 ★ 28.6KiB

icon

Close Tabs Extension · Productivity 757 187 ★ 72.56KiB

icon

Recent Tabs Extension · Productivity 757 342 ★ 37.32KiB

icon

Recent Tabs with your browsing history Extension · Accessibility 757 129 ★ 103KiB

icon

tabtiles Extension · Productivity 757 44 ★ 75.26KiB

icon

SimpleTabOrder Extension · Productivity 757 65 ★ 28.03KiB

icon

Live On Extension · Productivity 757 33 ★ 26.5KiB

icon

Ctrl+Tab MRU Extension · Productivity 757 116 ★ 15.2KiB

User reviews

icon

Charlie Eastwood (ID: 00000079ff4a90d9) Voted 1 ★ - Updated 08/14/2023 Doesnt work with MacBook Pro swipe.

icon

Josh Kinnison (ID: 000000558d0aa79b) Voted 1 ★ - Updated 07/12/2018 doesn't work anymore

icon

Kay P. (ID: 000000cec325d080) Voted 3 ★ - Updated 08/17/2017 It gives you a special back button, but that's really all it does. You can neither assign this button to your mouse nor have it replace the default back button. Try the "Close on Back" extension if you'd like to have this functionality on your mouse.

icon

Kyle Carter (ID: 0000001f69f3544b) Voted 2 ★ - Updated 01/20/2017 Was hoping I could use the shoulder button my my mouse for this app, but it won't work.

icon

Ignat Remizov (ID: 000000e067da15ea) Voted 1 ★ - Updated 07/02/2016 It's like a special back button. Does not overwrite the standard back button, and the mouse buttons do not work. There is a special "custom button" setting in the extension, but it is keyboard only. A shame.