Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyawesome authored Aug 30, 2020
1 parent 2147263 commit ae5ac81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions YouTube Stop Autoplay.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
//Check (and if necessary) turn off Auto-Play every 10 seconds, indefinitely
let autoplayStopper = setInterval(turnAutoplayOff, 10000);

//Only for the first 15 seconds, check (and if necessary) turn off Auto-Play every 0.5 seconds
for(let count = 0; count < 7500; count += 500) setTimeout(turnAutoplayOff, count);
//Only for the first 10 seconds, check (and if necessary) turn off Auto-Play every 0.5 seconds
for(let count = 0; count < 5000; count += 500) setTimeout(turnAutoplayOff, count);

function turnAutoplayOff(){

Expand Down

0 comments on commit ae5ac81

Please sign in to comment.