Skip to content

Instantly share code, notes, and snippets.

@miraries
Created March 23, 2020 02:24
Show Gist options
  • Save miraries/32dcd6581734137cee7e108a5e22790b to your computer and use it in GitHub Desktop.
Save miraries/32dcd6581734137cee7e108a5e22790b to your computer and use it in GitHub Desktop.
Zoom redirector
// ==UserScript==
// @name Zoom web redirect
// @match *://*.zoom.us/j/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
const match = /^\/j\/(\d+)\/?$/.exec(location.pathname);
if (match === undefined || match[1] === undefined) return;
location.pathname = '/wc/' + encodeURIComponent(match[1]) + '/join';
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment