Created
March 23, 2020 02:24
-
-
Save miraries/32dcd6581734137cee7e108a5e22790b to your computer and use it in GitHub Desktop.
Zoom redirector
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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