Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
GitHub Actionsのページのバッジのurlを対象のアクションのページにする
// ==UserScript==
// @name add badge for action link
// @namespace
// @version 0.1
// @description add badge for action link
// @author akameco (
// @match*/*/actions*
// @grant none
// ==/UserScript==
const el = document.querySelector('#badge-markdown')
el.textContent = `[${el.textContent}](${location.href})`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment