Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

apexskier/cmd-shift-t-safari

Repository files navigation

DEPRECATED. Safari 10 now supports tab close history!

⌘⇧T

Tiny Safari extension that implements tab close history, inspired by Chrome's.

Download

Features

  • ✅ Tab position support
  • ✅ Multi window support
  • ✅ Persistent storage (after quit)
  • ✅ 1000 tab history
  • ✅ Private browsing ignored
  • ✅ Toolbar button
  • ✅ Automatic Updates

Caveats

Due to Safari limitations, keyboard shortcut only works when a website's page content is loaded. This means it won't work from the new tab page, or if your internet connection is down. For a similar reason, this extension requires global page access 😒.

Across extension and application restart, browser windows are not persisted. When reopening multiple tabs, they will be grouped appropriately, but not inserted into existing windows.

This is a quick project to play with Apple's Safari Extensions framework, so don't expect anything brilliant.

Also, the default keyboard shortcut does interfere with the Show/Hide Tab Bar.

Building

Install dev tools jq, xar and eslint.

brew install jq xar
npm install

Set up your certificates directory (certs) as described in Rob Wu's instructions.

npm run build