Skip to content

Instantly share code, notes, and snippets.

@loxaxs
Created May 17, 2019 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loxaxs/9c8f6ca19e72aaba86588858b58b9521 to your computer and use it in GitHub Desktop.
Save loxaxs/9c8f6ca19e72aaba86588858b58b9521 to your computer and use it in GitHub Desktop.
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)
}
@loxaxs
Copy link
Author

loxaxs commented May 17, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment