Last active
September 26, 2024 10:01
-
-
Save trietsch/b56f65c6addc2723aabfeffd3ad324de to your computer and use it in GitHub Desktop.
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 Auto Enable Show Dependencies | |
// @version 1.0.2 | |
// @description Automatically enables show dependencies in Gitlab CI pipelines | |
// @author Robin Trietsch | |
// @match https://gitlab*/*/-/pipelines/* | |
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js | |
// @grant none | |
// @updateURL https://gist.github.com/trietsch/9c8701445a3ab5b2033ac2f615b2d2c1/raw/3b69af9ab266e0af438459337409387ec567d6db/auto-redirect.user.js | |
// @downloadURL https://gist.github.com/trietsch/9c8701445a3ab5b2033ac2f615b2d2c1/raw/3b69af9ab266e0af438459337409387ec567d6db/auto-redirect.user.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
waitForKeyElements("div span:contains('Show dependencies') ~ button", n => { n.click() }, true); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install Tampermonkey, after install, click the
Raw
button.