Skip to content

Instantly share code, notes, and snippets.

@lagagain
Created October 31, 2020 12:12
Show Gist options
  • Save lagagain/0a5a8592e0865dfa1e7eb95d49c070ea to your computer and use it in GitHub Desktop.
Save lagagain/0a5a8592e0865dfa1e7eb95d49c070ea to your computer and use it in GitHub Desktop.
TED plugin
let block_keeper = document.querySelector("div.bg\\:white:nth-child(1) > div:nth-child(1) > div:nth-child(1)");
let video_region = block_keeper.firstChild;
block_keeper.style.height = "400px";
video_region.style.width = "700px";
video_region.style.position = "fixed";
video_region.style.zIndex = 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment