Skip to content

Instantly share code, notes, and snippets.

@PhilippGrulich
PhilippGrulich / Display commit timestamp at github as javascript bookmark
Last active October 10, 2024 07:20
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;
})
}())