Skip to content

Instantly share code, notes, and snippets.

View pdvorchik's full-sized avatar

Paolo Unger Dvorchik pdvorchik

View GitHub Profile
@pdvorchik
pdvorchik / githubIssueNumberFirst.user.js
Created January 20, 2017 15:49
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])