Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Add-on icon

Left Tab Focus on Close version history - 3 versions

Left Tab Focus on Close by Mark Mark

There are no ratings yet
0 Stars out of 5
5
0
4
0
3
0
2
0
1
0
Left Tab Focus on Close version history - 3 versions
  • Be careful with old versions! These versions are displayed for testing and reference purposes.You should always use the latest version of an add-on.

  • Latest version

    Version 1.1.1

    Released Jun 15, 2026 - 66.67 KB
    Works with firefox 109.0a1 and later
    Firefox Manifest V3 uses event pages, so the background script can restart with an empty in-memory snapshot cache. After restarting Firefox with multiple restored windows, a close event could arrive before the extension had a reliable pre-close snapshot for that window; in that case it intentionally did nothing and Firefox's default right-tab focus remained. The extension now initializes on browser startup, mirrors tab-order snapshots to session-scoped storage, restores that state after event-page restarts, keeps a larger history, and indexes the last snapshot seen for each tab so restore-event bursts cannot evict the closed tab's position before tabs.onRemoved runs.

    Source code released under All Rights Reserved

    Download Firefox and get the extension
    Download file
  • Older versions

    Version 1.1.0

    Released Jun 9, 2026 - 51.27 KB
    Works with firefox 109.0a1 and later
    In certain situations, closing a tab would activate the tab to the right rather than the left. This happened when the browser closed more than one tab at the same time — for example, when using "Close Tabs to the Right", closing multiple selected tabs, or "Close Other Tabs". The extension was assuming only one tab had been removed, so its position math could point at the wrong tab. It now finds the correct target by matching tab IDs directly against the pre-close tab order, which works reliably regardless of how many tabs were removed at once.

    Source code released under All Rights Reserved

    Download file
  • Version 1.0.0

    Released May 22, 2026 - 9.6 KB
    Works with firefox 109.0a1 and later

    Source code released under All Rights Reserved

    Download file
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 License v3.0 or any later version.