Last active
August 29, 2015 14:11
-
-
Save mjschranz/406f3a0d056fb08adf07 to your computer and use it in GitHub Desktop.
Netflix Auto Resume Browser
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
setInterval(function() { | |
var resumeButtons = document.querySelectorAll("button.button.continue-playing"); | |
// Sadly no unique identifiers on each button for continue/restart/stop | |
// Only real way is to look for strings inside, but if all you want to do | |
// is auto continue, this will suffice until HTML layout changes | |
// Obviously, open your console and run this while you have a video stream running. | |
// Admittedly I have NOT tested this in the event of this popup appearing after a | |
// new video has started so unsure if pages are reloaded or not. | |
// Do let me know if I'm completely wrong! | |
if (resumeButtons.length) { | |
resumeButtons[0].click(); | |
} | |
}, 2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment