Skip to content

Instantly share code, notes, and snippets.

@mykola-radionov
Last active June 27, 2017 13:37
Show Gist options
  • Save mykola-radionov/69d5a01e88bb6a9d36fe3c1d07a39bfc to your computer and use it in GitHub Desktop.
Save mykola-radionov/69d5a01e88bb6a9d36fe3c1d07a39bfc to your computer and use it in GitHub Desktop.
See all outdated comments in the body of pull-request on GitHub
// Add it to bookmarks and then click to see all outdated comments in the body of pull-request on GitHub:
javascript:Array.from(document.getElementsByClassName('outdated-comment')).forEach(l => l.classList.add('open'));
// Or copy it into address bar and replace "@" first char, hit Enter (without this char due to security reasons
// your browser will remove "javascript:" prefix and then you have to type it manually):
@javascript:Array.from(document.getElementsByClassName('outdated-comment')).forEach(l => l.classList.add('open'));
// In case this piece of code stopped to work recheck spelling of class name with page's source code. It happens,
// this name was changed before few times.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment