Last active
May 6, 2025 20:50
-
-
Save JohnStarich/d8a1336544d02f6d35467ffd126c7bd1 to your computer and use it in GitHub Desktop.
fast-videos-bookmarklet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function() { | |
const videos = | |
Array.from(document.querySelectorAll('video')) | |
.concat( | |
Array.from(document.querySelectorAll('iframe')) | |
.flatMap(doc => | |
Array.from( | |
doc.contentDocument ? doc.contentDocument.querySelectorAll('video') : [] | |
) | |
) | |
); | |
console.log("Found videos:", videos); | |
videos.forEach(v => { | |
v.playbackRate = 10; | |
console.log("Video playback rate increased to", v.playbackRate); | |
}); | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment