This file contains 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 Move issue number in front of title | |
// @namespace https://github.com/ | |
// @include https://github.com/*/*/issues/* | |
// @version 1 | |
// ==/UserScript== | |
// This moves the ticket's issue number in front of the title, to meet our bookkeeping standards | |
let issueNumber = document.getElementsByClassName('gh-header-number')[0] | |
issueNumber.parentElement.insertBefore(issueNumber, document.getElementsByClassName('js-issue-title')[0]) |