// ==UserScript==
// @name Replace Fork with パクる for GitHub
// @namespace https://foooomio.net/
// @version 0.1
// @description だから、そういうことじゃなくて💦
// @author foooomio
// @license MIT License
// @match https://github.com/*
// @run-at document-idle
// @grant none
// ==/UserScript==
// 元ネタ: https://twitter.com/IiToshihide/status/1246487047545556992
(() => {
'use strict';
const $ = document.querySelector.bind(document);
function main() {
$('.pagehead-actions .octicon-repo-forked').nextSibling.textContent = 'パクる';
}
new MutationObserver(main).observe(
$('#js-repo-pjax-container'),
{ childList: true }
);
main();
})();
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme