Safari extension for returning to the last active tab after the active tab closes.
./install.shThen:
- Open Safari → Settings → Developer and enable Allow unsigned extensions.
- Open Safari → Settings → Extensions and enable ReLast Tab.
- Remove the temporary copy if Safari lists the extension twice.
Safari resets Allow unsigned extensions when it quits, so enable it again after restarting Safari.
Safari may briefly display its default fallback tab before returning to the most recently used tab. The Safari WebExtensions Tabs API reports a closure only after Safari has selected its fallback, so the extension cannot prevent this flicker.