您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Changes the YY-MM-DD formatted dates on Rule34.xxx to MM-DD-YY
当前为
// ==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]; }); })();