R34 Date Fixer

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

اعتبارا من 31-05-2016. شاهد أحدث إصدار.

You will need to install an extension such as Tampermonkey, Greasemonkey 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 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.

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

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

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.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==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];
    });
})();