Last active 1 day ago

netflix-random.js Raw
1// Navigate to your "My List" page before running this in your web console
2
3// Get a list of all titles
4var movies = document.querySelectorAll(".slider-item");
5
6// pick a random number between 0 and length
7var random = Math.floor(Math.random() * movies.length);
8
9// this is our movie
10var movie = movies[random];
11
12// we need to trigger three clicks, each one will make the next possible (due to dynamic rendering)
13movie.click();
14movie.querySelector(".video-artwork").click();
15movie.querySelector(".play").click();