Skip to content

Instantly share code, notes, and snippets.

View manumns's full-sized avatar

Manu Magalhães manumns

  • M&S
  • London, UK
View GitHub Profile
@manumns
manumns / Display commit timestamp at github as javascript bookmark This simple js bookmark let you display the correct commit timestamp at github
javascript:(function() {
var relativeTimeElements = window.document.querySelectorAll("relative-time");
relativeTimeElements.forEach(function(timeElement){
timeElement.innerHTML = timeElement.innerHTML +" -- "+ timeElement.title;
})
}())