Last active
September 9, 2024 12:11
-
-
Save AniruddhaHumane/8292fdc007ee1a0cae181df767543eb2 to your computer and use it in GitHub Desktop.
AutoSkip Intros and outros on Netflix
This file contains 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
// You can copy and paste this in the console window of netflix to automatically skip intros and outros :) | |
function clickButton(dataUia) { | |
const button = document.querySelector(`[data-uia="${dataUia}"]`); | |
if (button) { | |
button.click(); | |
} | |
} | |
function checkForButtons() { | |
clickButton("player-skip-intro"); | |
clickButton("player-skip-recap"); | |
clickButton("next-episode-seamless-button-draining"); | |
clickButton("next-episode-seamless-button"); | |
} | |
setInterval(checkForButtons, 500); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment