Skip to content

Instantly share code, notes, and snippets.

@golive
Created December 11, 2020 13:39
Show Gist options
  • Save golive/73d667edbaeb377fbdc01e6ab9311ef4 to your computer and use it in GitHub Desktop.
Save golive/73d667edbaeb377fbdc01e6ab9311ef4 to your computer and use it in GitHub Desktop.
Resolve outdated Sequbot comments
javascript:(function() {
document.querySelectorAll('.js-resolvable-timeline-thread-container:not([data-resolved="true"])').forEach((comment) => {
if (comment.querySelector('[title="Label: Outdated"]') && comment.querySelector('.author').text == 'sequbot')
comment.querySelector('.js-resolvable-timeline-thread-form button[type="submit"]')?.click();
})
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment