Makes github display absolute times.
Add-on stats
Manifest V2
Firefox on Android: No
Size: 11.93K
URLs: Privacy policy
Other platforms
Not available on Chrome
Not available on Android
Not available on Edge
User reviews
Version 1.0.0 of this extension is a single script. It could very well be distributed as a cross-browser UserScript in addition to per-browser extensions.
I would like it if I could set a preference for a full date-time format such as ${YYYY}-${MM}-${DD}T${hh}:${mm}:${ss}(+/-)${TZ}.
https://ijmacd.github.io/rfc3339-iso8601/
For those with security concerns...
The script loops through the DOM "relative-time" elements. These elements have a "datetime" attribute with an RFC3339 and ISO-8601 compliant date-time string e.g. 2024-08-05T14:51:54-07:00. The script simply grabs the first ten characters from this string, prepends "at ", and *replaces* the relative-time element the `at ${date}`.
Because pages often load asynchronously, the above loop is executed again in a `for` loop with an incrementally increasing timeout.
I wonder why Serdar Sanli used a loop instead of Event hooks e.g.
```js
if (document.readyState === "loading") {
// Loading hasn't finished yet
document.addEventListener("DOMContentLoaded", doit);
} else {
// `DOMContentLoaded` has already fired
doit();
}
```
However, there's no event for when content is changed by scripts *after* DOMContentLoaded. From what I'm reading on StackOverflow, a [MutationObserver](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver) would handle this scenario.
by VoidsShadow, 2024-08-06
Add-on safety
Risk impact
YYYY-MM-DD Github requires a few sensitive permissions. Exercise caution before installing.
Risk impact analysis details
- Critical Request access to the following domains: github.com
- High ******* ******* **** *** ****** ***** *** ***** ** ******* **** ********* ********* ** * *********** *****
Risk likelihood
YYYY-MM-DD Github has earned a fairly good reputation and likely can be trusted.
Risk likelihood analysis details
- High This extension has low user count. Unpopular extensions may not be stable or safe.
- Low **** ********* *** ******* **** **** * ****** **** ***** ******** *** **** ****** ** ** ****** *** *****
- Low **** ********* *** ***** **** **** * ****** **** ***** ********** *** **** ****** ** ** ****** *** *****
- Good **** ********* *** **** **** *******
Upgrade to see full risk analysis details
Similar add-ons
Here are some Firefox add-ons that are similar to YYYY-MM-DD Github:

ena
1

Masataka Yakura
10

Alexis Lozano
-

EMPRI-DEVOPS Project
2

Dword Design
2

BlackWW
1

Leon.baker83
-

Time Tracking for Github Issues
1

derhackler
1