R34 Date Fixer

Changes the YY-MM-DD formatted dates on Rule34.xxx to MM-DD-YY

Version vom 31.05.2016. Aktuellste Version

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name       R34 Date Fixer
// @namespace  http://userscripts.org/scripts/show/103812
// @version    1.0
// @description  Changes the YY-MM-DD formatted dates on Rule34.xxx to MM-DD-YY
// @match      *://rule34.xxx/*
// @copyright  2014+, James Wood, edit by Lemons22
// @grant      none
// ==/UserScript==

// If you want a date format other than YYYY-MM-DD, see http://bit.ly/1naOVYW.
// It outputs D/M/YYYY, so gives examples of changing the separators and order
// of components, as well as trimming off leading ‘0’s. Don't be afraid to
// customise; there's barely anything that could go wrong!

(function() {
    var el = document.getElementById('stats');
    el.innerHTML = el.innerHTML.replace(/\b\d\d\d\d-\d\d-\d\d\b/g, function(s) {
        var mdy = s.split('-');
        return mdy[1] + '-' + mdy[2] + '-' + mdy[0];
    });
})();