ISO time format for StackOverflow

Use ISO time format for Stack Overlow and other Stack Exchange sites

От 09.09.2019. Виж последната версия.

// ==UserScript==
// @name               ISO time format for StackOverflow
// @version            2.0
// @name:zh-CN         为 Stack Overflow 及 Stack Exchange 旗下网站启用 ISO 时间格式
// @description        Use ISO time format for Stack Overlow and other Stack Exchange sites
// @description:zh-CN  将 Stack Overflow 等 Stack Exchange 旗下174个网站的问答页面默认时间改为ISO格式的
// @namespace          StackOverflow
// @author             Patrick
// @match              https://askubuntu.com/questions/*
// @match              https://stackapps.com/questions/*
// @match              https://superuser.com/questions/*
// @match              https://serverfault.com/questions/*
// @match              https://mathoverflow.net/questions/*
// @match              https://*.stackoverflow.com/questions/*
// @match              https://*.stackexchange.com/questions/*
// @grant              none
// @run-at             document-end
// ==/UserScript==

(function() {
    var time_list = document.querySelectorAll("span.relativetime, span.relativetime-clean")
    time_list.forEach(function(ele) {
        ele.innerText = ele.title
    })
})()
长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元