您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
集成自动勾选所有选择复选 event
当前为
// ==UserScript== // @name Gitlab 集成 event // @namespace mouyong // @description 集成自动勾选所有选择复选 event // @match https://git.cblink.net/*/hooks* // @match https://git.cblink.net/*/settings/integrations // @match https://git.cblink.net/*/*/merge_requests/* // @license LGPL // @grant none // @version 0.0.1.20191014033052 // ==/UserScript== document.querySelectorAll("input[name*='events']").forEach(function (_) { _.setAttribute('checked', true); }); function addPubliskLink() { var currentSection = document.querySelector('.mr-info-list'); if (currentSection === null) return; var a = document.createElement("a"); a.setAttribute('href', 'https://git.cblink.net/cblink/cblink/compare/production...develop'); a.innerText = '发布到正式分支'; currentSection.appendChild(a) } window.onload = function () { addPubliskLink() }