您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hides the GitLab "Migrate from Jenkins" widget on the pipelines page.
// ==UserScript== // @name Hide GitLab "Migrate from Jenkins" Widget // @namespace Violentmonkey Scripts // @match https://gitlab.*/*/merge_requests/* // @grant none // @version 1.0.0 // @author joshmcorreia // @license MIT // @description Hides the GitLab "Migrate from Jenkins" widget on the pipelines page. // ==/UserScript== // GitHub repo can be found at https://github.com/joshmcorreia/userscript_hide_gitlab_migrate_from_jenkins const pipeline_suggest_selector = ".mr-pipeline-suggest"; function remove_migrate_widget() { var pipeline_suggest_element = document.querySelector(pipeline_suggest_selector); pipeline_suggest_element.remove(); } (new MutationObserver(check)).observe(document, {childList: true, subtree: true}); function check(changes, observer) { if(document.querySelector(pipeline_suggest_selector)) { observer.disconnect(); remove_migrate_widget(); } }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址