Skip to content

Instantly share code, notes, and snippets.

@RaulMedeiros
Last active July 18, 2026 21:35
Show Gist options
  • Select an option

  • Save RaulMedeiros/5337c13a05ec8e491cf7419d7cc19a48 to your computer and use it in GitHub Desktop.

Select an option

Save RaulMedeiros/5337c13a05ec8e491cf7419d7cc19a48 to your computer and use it in GitHub Desktop.
SPEED 1.5X CRUNCHROLL
const SPEED = 1.5;
function applySpeed() {
const video = document.querySelector("video");
if (video) {
video.playbackRate = SPEED;
video.addEventListener("ratechange", () => {
if (video.playbackRate !== SPEED) {
video.playbackRate = SPEED;
}
});
}
}
applySpeed();
new MutationObserver(() => {
applySpeed();
}).observe(document.body, {
childList: true,
subtree: true
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment