Are there any extensions or tricks to reopen several closed tabs in Safari

7

3

I know Safari 5 (on OSX) allows undoing of a recently closed tab with Cmd-Z. However, that works only for the very last closed tab. That is, I cannot press CmdZ twice to reopen the last two closed tabs.

Except for searching my history for the last few tabs, does anyone know of a trick (or extension) in Safari that allows me to reopen last several closed tabs?

Chrome and Firefox offer this simple feature by default: I can press CmdShiftT twice to reopen the last two closed tabs.

Ashutosh Mehra

Posted 2011-03-07T21:15:06.840

Reputation: 171

Answers

4

I wrote one. retab, and you can customize the key-bindings to match Chrome's ++T too. I left it unchecked by default, but you can enable it via settings +,.

enter image description here

Jorge Bucaran

Posted 2011-03-07T21:15:06.840

Reputation: 411

1How is the stability and battery efficiency of this?

Why on earth don't Apple just add this? – niico – 2015-08-05T07:19:00.323

Working well for me on a 2014 MBP. – Jorge Bucaran – 2015-08-05T14:04:48.083

Having used this for longer now - it has several bugs. For example - tabs A, B, C, D are open. You are on tab B. You close tab C. It works. But if you close the active tab - B - then it just doesn't work. – niico – 2015-08-13T11:54:03.987

Please update to the latest version and check out this demonstration video that shows the behavior is consistent. If that still fails, please open an issue in the issue tracker and let's take it from there.

– Jorge Bucaran – 2015-08-13T13:56:17.090

I'm on 2.0 - I installed the extension for the first time less than a week ago - auto update extensions is also on (unclear how I update it). I just opened two new tabs, closed, then pressed cmd shift t - nothing - also closing background tabs also no longer works. Bad bugs here... – niico – 2015-08-14T14:45:44.747

Are you using El Capitan? If you are, there is a bug I still haven't fixed that only occurs there. If you are not, then this is certainly a bug. I can't help if I can't replicate it, so it would be really useful if you could open an issue about this.

– Jorge Bucaran – 2015-08-14T14:49:12.243

nope - yosemite. FYI - I'm using ghostly & adblock plus as well. – niico – 2015-08-15T15:48:07.623

0

Perhaps you're looking to undo unintentional closing of tabs, but you could always use the 'Add Bookmark for these tabs' option under the bookmark menu to save them...

tog22

Posted 2011-03-07T21:15:06.840

Reputation: 725

1Yes, I indeed was looking for ways to undo unintentional tab-close. Which is why bookmark for all tabs all the time before closing a tab because I don't which tab (if ever) I might need to reopen. – Ashutosh Mehra – 2011-03-09T07:09:57.403

0

  1. Sessions is one of my favorite extensions for Safari, you can basically configure it to auto-bookmark all open tabs/windows every so often in its own manager (database) separate from safari. You can import/export this to other users and for backup too. However, you might overwrite your current 'session' if the auto-backup has run after you closed the relevant tabs...

  2. Also, MacHangout.com offers an 'add-on' (not strictly speaking an approved 'extension') that allows multiple-undo. After install it will show up in Safari>Preferences>Glims>Tabs Misc.> "Undo ''Close Tab'' (cmd-z)"

NOTjust -- user4304

Posted 2011-03-07T21:15:06.840

Reputation: 250

The MacHangout.com link is broken. – Brecht Machiels – 2016-04-13T15:13:00.207

@BrechtMachiels hmmm.... just tried, works for me at this moment. – NOTjust -- user4304 – 2016-05-17T18:25:04.643

I use both of these concurrently btw, I didn't just '***gle it'. – NOTjust -- user4304 – 2013-04-02T19:43:10.297