Skip to content

Instantly share code, notes, and snippets.

@syyyr
Created March 5, 2025 13:14
Show Gist options
  • Select an option

  • Save syyyr/68d2b821d0167575d372af8bb144ad19 to your computer and use it in GitHub Desktop.

Select an option

Save syyyr/68d2b821d0167575d372af8bb144ad19 to your computer and use it in GitHub Desktop.
tampermonkey: GitHub PR: expand CI check list
// ==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