Skip to content

Instantly share code, notes, and snippets.

@ugultopu
Last active September 10, 2021 16:05
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 ugultopu/59a830cd1b410eb9fc16e03609b606e2 to your computer and use it in GitHub Desktop.
Save ugultopu/59a830cd1b410eb9fc16e03609b606e2 to your computer and use it in GitHub Desktop.
// Open the Developer Tools, switch to the "Console" tab, copy and paste the following code:
(function () {
for (const element of document.querySelectorAll('div[data-allocation-index]')) {
// Remove all video panes, except the main one.
if (element.attributes.getNamedItem('data-allocation-index').value !== '0') element.remove();
}
})();
// Now, only the main presentation pane must be appearing. To make this pane cover the whole screen
// (from top to bottom), resize (expand or shrink) the Developer Tools, or simply close it.
//
// If the videos come back for some reason, run the code again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment