Skip to content

Instantly share code, notes, and snippets.

@rberenguel
Last active February 27, 2020 08:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rberenguel/29af816c5f05a0326e7160019d576e3e to your computer and use it in GitHub Desktop.
Save rberenguel/29af816c5f05a0326e7160019d576e3e to your computer and use it in GitHub Desktop.
Push to talk (space bar when Safari's Meet is under focus) bookmarklet for Google Meet, working under Mac OS in Safari. Code modified from https://gist.github.com/caseywatts/561bc498b6feec3d419b29a65d916663
javascript: (() => {const toggles = tip => ({ key }) => key === '' && document.querySelectorAll('[data-tooltip]').forEach(el => el.dataset.tooltip === tip && el.click());document.body.onkeyup = toggles('Turn off microphone (⌘ + D)');document.body.onkeydown = toggles('Turn on microphone (⌘ + D)');})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment