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
javascript: | |
((n = document.getElementsByClassName('new-discussion-timeline')[0]) && (n.style['max-width'] = '90%') && false); |
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
javascript: | |
document.querySelectorAll('.load-diff-button').forEach(node => node.click()); | |
document.querySelectorAll('.js-details-target').forEach(node => node.click()); | |
// Both of those buttons should have the '.btn-link' class too, but I wasn't able to quickly figure out how to | |
// add an AND condition to that. Tried the below, didn't work: | |
//document.querySelectorAll('[.btn-link][.load-diff-button]').forEach(node => node.click()); |