Skip to content

Instantly share code, notes, and snippets.

@fResult
Last active December 19, 2022 16:51
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 fResult/74c13acd5fcb5a68ed10acf5c8b30be6 to your computer and use it in GitHub Desktop.
Save fResult/74c13acd5fcb5a68ed10acf5c8b30be6 to your computer and use it in GitHub Desktop.
Write on Dec 15, 2022
// Udemy
function cp() {
copy(document.querySelector('span[class^=well--text]').innerText + ' ')
}
function playPause() {
document.querySelector('.vjs-tech').click()
}
// Linkedin
function cp() {
copy(document.querySelector('.vjs-text-track-cue.vjs-text-track-cue-en>div').innerText + ' ')
}
function playPause() {
document.querySelector('#vjs_video_3_html5_api.vjs-tech').click()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment