Created
March 5, 2025 13:14
-
-
Save syyyr/68d2b821d0167575d372af8bb144ad19 to your computer and use it in GitHub Desktop.
tampermonkey: GitHub PR: expand CI check list
This file contains hidden or 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
| // ==UserScript== | |
| // @name GitHub PR: expand CI check list | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2025-03-05 | |
| // @description Remove scrolling GitHub Action checks on PRs | |
| // @author Václav Kubernát | |
| // @match https://github.com/*/*/pull/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=github.com | |
| // @grant none | |
| // ==/UserScript== | |
| const getElems = (...selectors) => selectors.map(selector => Array.from(document.querySelectorAll(selector))).flat(); | |
| const impl = () => { | |
| getElems( | |
| '.MergeBoxExpandable-module__expandableContent--F8GC8', | |
| '.MergeBoxExpandable-module__expandableWrapper--WmDqF' | |
| ).forEach(elem => { | |
| elem.style = 'max-height: unset'; | |
| }); | |
| }; | |
| setInterval(impl, 100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment