Created
May 17, 2019 19:59
-
-
Save loxaxs/9c8f6ca19e72aaba86588858b58b9521 to your computer and use it in GitHub Desktop.
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
var f = (b) => { | |
f.st = setTimeout(() => { | |
( | |
$("body > .modal:last-child") || | |
{scrollTo: () => (console.log(".modal not found. stopping"), true)} | |
).scrollTo(0, 13726 * !!b) || | |
f(!b) | |
}, 3000) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://soundcloud.com/loxaxs/sets/all-league-of-legends
It's particularly boring to move newly added songs from the end of a playlist to the beginning. This script makes it a litter faster, and a little less boring.