Skip to content

Instantly share code, notes, and snippets.

@tralston
Created November 8, 2021 20:24
Show Gist options
  • Save tralston/bff4a89a50c5d0434e45454ddfca9648 to your computer and use it in GitHub Desktop.
Save tralston/bff4a89a50c5d0434e45454ddfca9648 to your computer and use it in GitHub Desktop.
[Print Basecamp Chat History based on dates]
// In Chrome Dev-Tools, run the following commands, substituting the date for the earliest cutoff you want
earliest = new Date("2021-10-22T08:00:00Z"); // T08:00:00Z Means Midnight Pacific Time when CA is on UTC-800
bc = $("bc-grouped-dates"); bc.children().filter( (i, el) => new Date($(el).data("datetime")) < earliest).remove(); bccr = $("bc-chat-room"); bccr.css("overflow", "visible"); bcip = $("bc-infinite-page"); bcip.css("overflow", "visible")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment