Skip to content

Instantly share code, notes, and snippets.

@pdvorchik
Created January 20, 2017 15:49
Show Gist options
  • Save pdvorchik/1649bfaa2638ab4a2d79731ba986cd87 to your computer and use it in GitHub Desktop.
Save pdvorchik/1649bfaa2638ab4a2d79731ba986cd87 to your computer and use it in GitHub Desktop.
This moves the ticket's issue number in front of the title, to meet our bookkeeping standards
// ==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])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment