Skip to content

Instantly share code, notes, and snippets.

@erikdstock
Last active September 12, 2019 05:37
Show Gist options
  • Save erikdstock/b334ce3a0b5e84dc43b200fc33a5d84f to your computer and use it in GitHub Desktop.
Save erikdstock/b334ce3a0b5e84dc43b200fc33a5d84f to your computer and use it in GitHub Desktop.
Unhide outdated Github PR Comments bookmarklet
// Save as a bookmarklet
// unhides out of date comments on a Github PR, coloring the title bars in these code blocks.
javascript:void function(){
document.querySelectorAll(".show-outdated-button").forEach(function(button){
var banner = button.parentNode;
button.click();
banner.style.backgroundColor = '#e2d2ff';
banner.childNodes.forEach(function(child){});
});
}();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment