Skip to content

Instantly share code, notes, and snippets.

@hugoboos
Last active May 18, 2023 23:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugoboos/59f3989e73dc99c42579 to your computer and use it in GitHub Desktop.
Save hugoboos/59f3989e73dc99c42579 to your computer and use it in GitHub Desktop.
Add to Trakt history
// Run in console on the season overview page (http://trakt.tv/shows/<show>/seasons/<season-number>)
// Will set all the episodes of that season to watched, on the specified date.
// Format the date as: 'Jan 26, 2014 7:06 PM'.
$("#episodes-wrapper").find(".grid-item").each(function(){
actionWatch($(this), "watch", false, "<date>")
})
// Run in console on the episode page (http://trakt.tv/shows/<show>/seasons/<season-number>/episodes/<episode-number>)
// Will set the episode to watched, on the specified date.
// Format the date as: 'Jan 26, 2014 7:06 PM'.
actionWatch($(".btn-watch"), "watch", false, "<date>")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment