Skip to content

Commit

Permalink
Fix Issue With Zoom Workplace
Browse files Browse the repository at this point in the history
Adjusts regex to account for changes to the Zoom redirect URL.
  • Loading branch information
sethcottle committed Aug 1, 2024
1 parent 5e69f46 commit 5118bcd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const predefinedUrlPatterns = [
{ label: 'Spotify', pattern: '^https?://open\\.spotify\\.com' },
{ label: 'VS Code Live Share', pattern: '^https?://vscode\\.dev/liveshare' },
{ label: 'Webex Joins', pattern: '^https?://([a-z0-9-]+\\.)?webex\\.com/wbxmjs/joinservice' },
{ label: 'Zoom Joins', pattern: '^https?://([a-z0-9-]+\\.)?zoom\\.us/j/[^/]+#success$' },
{ label: 'Zoom Joins', pattern: '^https?://([a-z0-9-]+\\.)?zoom\\.us/[js]/[^/]+.*#success$' },
];

async function shouldCloseTab(url) {
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "TabCloser",
"version": "3.2.1",
"version": "3.2.2",
"description": "Automatically close leftover tabs from services like Figma, Spotify, Zoom and other commonly redirected URLs.",
"action": {
"default_popup": "popup.html",
Expand Down
3 changes: 1 addition & 2 deletions options.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ const predefinedUrlPatterns = [
{ label: 'Spotify', pattern: '^https?://open\\.spotify\\.com', icon: 'spotify.svg'},
{ label: 'VS Code Live Share', pattern: '^https?://vscode\\.dev/liveshare', icon: 'code.svg'},
{ label: 'Webex Joins', pattern: '^https?://([a-z0-9-]+\\.)?webex\\.com/wbxmjs/joinservice', icon: 'webex.svg'},
{ label: 'Zoom Joins', pattern: '^https?://([a-z0-9-]+\\.)?zoom\\.us/j/[^/]+#success$', icon: 'zoom.svg'},
];
{ label: 'Zoom Joins', pattern: '^https?://([a-z0-9-]+\\.)?zoom\\.us/[js]/[^/]+.*#success$', icon: 'zoom.svg'},];

function saveOptions() {
const disabledUrls = [];
Expand Down

0 comments on commit 5118bcd

Please sign in to comment.