Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Most Recent Tab - Keyboard shortcut for last tab

Most Recent Tab - Keyboard shortcut for last tab by Paul V

Adds a keyboard shortcut (default: control-shift-1 / cmd-shift-1) and toolbar button to quickly go back to the previously selected tab. Useful to alternate between two tabs and to easy go back to your last tab if you switch to another briefly.

4.7 (27 reviews)4.7 (27 reviews)
369 Users369 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
Explanation and screenshot including toolbar buttonPreferred way to set a keyboard shortcut: in the Add-ons Manager click the gear, then Manage Extension Shortcuts. Click the box for Most Recent Tab and press your desired shortcut. Done!Old way to set a keyboard shortcut: open Preferences in Most Recent Tab in the Add-ons Manager. Now that Firefox has the Manage Extension Shortcuts panel, do it that way instead.
About this extension
Most Recent Tab is about quickly toggling back to the last tab you were on using keyboard shortcut or toolbar button click. First developed in 2011 and updated to the new WebExtension API in 2017, MRT has been making Firefox slightly more convenient for over 10 years.

Handy when you're going through a list of links that keep opening new tabs and you need to jump back to the main tab, or if you're comparing things between two tabs, or any time you need to toggle between a pair of tabs.

The default shortcut is set to Control-shift-1 on Windows and Command-shift-1 on Mac.

There are two ways to set your preferred shortcut. See the screenshots for more information.
  • Easy way: In the Add-ons list in Firefox, click the gear, and Manage Extension Shortcuts. Click the box in Most Recent Tab's entry and press your preferred shortcut.
  • Old way: In Add-ons manager, click Most Recent Tab and then Preferences. You'll have to type in your shortcut in the format expected by Firefox, so this is no longer the recommended way, the other way is easier!

New in version 3.1, you can optionally set shortcuts to jump to the 2nd or 3rd most recent tabs. Enable them by picking a shortcut using the Easy Method above. Version 3.2 fixes a small regression in 3.1.

Source code is available on Github, under the Mozilla Public License 2.0.
Developer comments
  • Firefox does not currently allow extension developers to control what happens when you click on the current tab, so there's no way to make clicking on the current tab trigger the action. More information on Bugzilla #1246706.
  • Most Recent Tab is triggerable from other addons. Developers of other addons can trigger the action by sending a message using the runtime.sendMessage() API. Sample code on GitHub.
Rated 4.7 by 27 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
22
4
3
3
1
2
1
1
0
Read all 27 reviews
More information
Add-on Links
  • Homepage
  • Support site
  • Support Email
Version
3.2
Size
168.34 kB
Last updated
3 years ago (2 Feb 2023)
Related Categories
  • Appearance
  • Tabs
Licence
Mozilla Public Licence 2.0
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Add to collection
Report this add-on
Release notes for 3.2
Fixes a bug in 3.1 that caused the toolbar button to stop working.
More extensions by Paul V
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike Licence v3.0 or any later version.