Last active
March 3, 2021 04:23
-
-
Save prideout/73b1568233bb519ca0f9afadb00cbc0b to your computer and use it in GitHub Desktop.
github display rich diff everywhere
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
// clock all <button> with aria-label="Display the rich diff" | |
buttons = [].filter.call( | |
document.getElementsByTagName('button'), | |
el => el.getAttribute('aria-label') == "Display the rich diff"); | |
buttons.forEach(el => el.click()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment