Created
May 22, 2017 05:10
-
-
Save cotyembry/be8d63b00edd1d45ed4d7d7f68fdd49a to your computer and use it in GitHub Desktop.
This is a bookmarklet that you can use in a web browser - when you execute it, its intended use is on github.com when you are viewing a commit - it will create an element and add the time it was committed at the very top top of the webpage (it uses document.body.prepend(...) to do that)
This file contains 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 el = document.createElement('div'); document.body.prepend(el); el.innerHTML = document.getElementsByTagName('relative-time')[0].getAttribute('title');}() ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment