Forked from PhilippGrulich/Display commit timestamp at github as javascript bookmark
Created
April 15, 2025 09:37
-
-
Save manumns/fd100a6f0c503466894474a975dc4e65 to your computer and use it in GitHub Desktop.
This simple js bookmark let you display the correct commit timestamp at github
This file contains hidden or 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
javascript:(function() { | |
var relativeTimeElements = window.document.querySelectorAll("relative-time"); | |
relativeTimeElements.forEach(function(timeElement){ | |
timeElement.innerHTML = timeElement.innerHTML +" -- "+ timeElement.title; | |
}) | |
}()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment