Absolute Dates on FP

because hover is stupid and I'm a lazy fuck who wants to see both

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name        Absolute Dates on FP
// @author      lavacano - Reagy
// @namespace   https://greasyfork.org/users/8353
// @description because hover is stupid and I'm a lazy fuck who wants to see both
// @include     http://facepunch.com/showthread.php?*
// @include     https://facepunch.com/showthread.php?*
// @include     http://www.facepunch.com/showthread.php?*
// @include     https://www.facepunch.com/showthread.php?*
// @version     0.2
// @grant       none
// ==/UserScript==


var elems = document.getElementsByTagName('span'), i;
for (i in elems) {
    if (elems[i].className == "date") {
        var relTime = elems[i].innerHTML;
        elems[i].innerHTML = elems[i].title + " - " + relTime;
    }
}