Greasy Fork 还支持 简体中文。

Show Absolute Time On Reddit Posts

Show absolute time of Reddit posting time in addition to the relative time. Applies for links, comments, and messages.

  1. // ==UserScript==
  2. // @name Show Absolute Time On Reddit Posts
  3. // @namespace ShowAbsoluteTimeOnRedditPosts
  4. // @description Show absolute time of Reddit posting time in addition to the relative time. Applies for links, comments, and messages.
  5. // @version 1.1.1
  6. // @author jcunews
  7. // @include https://*.reddit.com/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. var eles = document.querySelectorAll(".tagline > time, .head > time"), i, parentNode, ele;
  13. for (i = eles.length-1; i >= 0; i--) {
  14. eles[i].classList.remove("live-timestamp");
  15. eles[i].textContent += " (" + eles[i].getAttribute("title") + ")";
  16. }
  17. })();