Created
January 2, 2023 04:19
-
-
Save anlai/8a31813328e5f0867c039edc98c3c011 to your computer and use it in GitHub Desktop.
Script that can be used in the browser console to add all the episodes on a Trakt season page to a list. (If used on a List page, it will remove all the episodes as well).
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
var lists = $('.trakt-icon-list-thick'); | |
lists.each(function(){ | |
this.click(); | |
$(this).closest('a.list').siblings('.popover.with-list').find("li[data-list-id='{LIST_ID_HERE}']").click(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
making public