Skip to content

Instantly share code, notes, and snippets.

@jreyesr
Forked from caseywatts/0 push to talk.md
Last active June 9, 2020 13:44
Show Gist options
  • Select an option

  • Save jreyesr/74cff64bb2bfff79d6736f524bb65fea to your computer and use it in GitHub Desktop.

Select an option

Save jreyesr/74cff64bb2bfff79d6736f524bb65fea to your computer and use it in GitHub Desktop.
Push To Talk - Zoom Web Bookmarklet

Based on http://caseywatts.com/ptt

Push To Talk in Zoom Web

Works on Zoom Web (Zoom Desktop already has Push-To-Talk, see here)

  1. Save this bookmarklet. Right-click on boomarks toolbar Add Page...
    • Name: PTT (push to talk) or whatever you'd like (maybe short so it stays on your bookmarks toolbar)
    • URL: (paste in the bookmarklet.js contents below)
  2. In a Zoom Web meeting, click on the bookmarklet
  3. Press and hold spacebar to talk. Keydown will un-mute you, and keyup will re-mute you.
  4. 🎉
javascript: (() => {
const toggle = tip => ({ key }) =>
key === ' ' && document.querySelectorAll('[aria-label*="my microphone"]').forEach(el => { el.ariaLabel === tip && el.click(); });
document.body.onkeyup = toggle('mute my microphone');
document.body.onkeydown = toggle('unmute my microphone');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment