Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sethcottle committed May 10, 2023
2 parents 5247f49 + 4799b26 commit 48c6947
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
# TabCloser

## What is TabCloser?
Keep your tabs tidy, so you can stay focused. TabCloser eliminates those pesky leftover tabs from <b>Discord</b> invites, <b>Figma</b> files, <b>Spotify</b>, <b>Zoom</b> meetings, and <b>Webex</b> meetings—leaving you with a clean browser and a clear path to productivity.
Keep your tabs tidy, so you can stay focused. TabCloser eliminates those pesky leftover tabs from <b>Discord</b> invites, <b>Figma</b> files, <b>Notion</b>, <b>Spotify</b>, <b>Zoom</b> meetings, and <b>Webex</b> meetings—leaving you with a clean browser and a clear path to productivity.

![Tabs](https://cdn.cottle.cloud/tabcloser/tabs.svg)

## TabCloser Options

By default, Discord invites, Figma files, Spotify, VS Code Live Share, Webex Joins, and Zoom Joins are enabled. Just deselect any service that you don't want tabs to close for automatically. You can also change the interval that TabCloser uses to close a new tab once a new tab has been opened, by default it's `15 seconds` + `5 second new tab buffer` = `20 seconds`. The New Tab Buffer ensures TabCloser has enough time to detect a new tab and a URL if you're manually copy + pasting a link into a new tab.
By default, Discord invites, Figma files, Notion, Spotify, VS Code Live Share, Webex Joins, and Zoom Joins are enabled. Just deselect any service that you don't want tabs to close for automatically. You can also change the interval that TabCloser uses to close a new tab once a new tab has been opened, by default it's `15 seconds` + `5 second new tab buffer` = `20 seconds`. The New Tab Buffer ensures TabCloser has enough time to detect a new tab and a URL if you're manually copy + pasting a link into a new tab.

![TabCloser Options](https://cdn.cottle.cloud/tabcloser/options.svg)

Expand Down Expand Up @@ -37,8 +37,13 @@ For Figma, TabCloser is using `^https?://(?:www\.)?figma\.com/file/`

The `figma.com/file` designates it is a file URL. TabCloser <b>will not</b> close tabs for Figma Community profiles, templates, plugins, ..etc. Only file URLs can be redirected to the Figma desktop client.

#### Notion
For Notion, TabCloser is using `^https?://www\\.notion\\.so/native/.*&deepLinkOpenNewTab=true`

The `^https?://www\\.notion\\.so/native/` designates that it's being redirected to the native client. The `.*` allows for any string of content after the base URL. Then TabCloser is looking for an exact match on `&deepLinkOpenNewTab=true` to make sure the redirect was successful.

#### Spotify
For Spotify, TabCloser is using `^https?://open\\.spotify\\.com`
For Spotify, TabCloser is using `^https?://open\\.spotify\\.com`

The `open\\.` portion is typically associated with opening a song, artist, playlist, ..etc which can be opened in the Spotify desktop client.

Expand Down

0 comments on commit 48c6947

Please sign in to comment.