Last active
September 12, 2019 05:37
-
-
Save erikdstock/b334ce3a0b5e84dc43b200fc33a5d84f to your computer and use it in GitHub Desktop.
Unhide outdated Github PR Comments bookmarklet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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