Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save alienzj/96fef2f20f51e8d5d4bfcdbf896a03ff to your computer and use it in GitHub Desktop.

Select an option

Save alienzj/96fef2f20f51e8d5d4bfcdbf896a03ff to your computer and use it in GitHub Desktop.
User script that redirects Zoom meeting links to the web client automatically
// ==UserScript==
// @name Zoom Web Client Auto Redirect
// @namespace https://zoom.us
// @version 0.1
// @description Automatically redirect Zoom meetings to the web client
// @author Mohamad Safadieh
// @license GNU AGPLv3: https://www.gnu.org/licenses/agpl-3.0.en.html
// @include /https:\/\/([a-z0-9\-]+\.)?zoom\.us\/([sj])\/([0-9]+).*/
// @grant none
// ==/UserScript==
(function() {
const match = window.location.href.match(/https:\/\/([a-z0-9\-]+\.)?zoom\.us\/([sj])\/([0-9]+).*/);
const prefix = match[1] || "";
const end = match[2] === "j" ? "join/" + match[3] : match[3] + "/start";
window.location.href = "https://" + prefix + "zoom.us/wc/" + end;
})();
@alienzj
Copy link
Author

alienzj commented May 29, 2025

@alienzj
Copy link
Author

alienzj commented May 29, 2025

"Redirector" browser extension

In Firefox, Chromium, and Opera, it is possible to use the Redirector extension to rewrite the URL automatically. Create a rule as follows:

Description: Zoom web client
Example URL: https://sub.zoom.us/j/123456?pwd=pass
Include pattern: *//*.zoom.us/j/*
Redirect to: $1//$2.zoom.us/wc/join/$3
Pattern type: Wildcard

@alienzj
Copy link
Author

alienzj commented May 29, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment