您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
用具体时间替换 gamebanana 网站上的更新时间。
// ==UserScript== // @name 显示 gamebanana 更新具体时间 // @namespace http://tampermonkey.net/ // @license CC-BY-SA 3.0 // @version 2024-03-12 // @description 用具体时间替换 gamebanana 网站上的更新时间。 // @author Confringo // @match *://gamebanana.com/mods/* // @match *://www.gamebanana.com/mods/* // @icon https://www.google.com/s2/favicons?sz=64&domain=gamebanana.com // @grant none // ==/UserScript== (function() { 'use strict'; window.addEventListener('load',function(){ var times=document.getElementsByTagName('time'); console.log(times); for (let i=0;i<times.length;i++){ console.log(times[i].getAttribute('datetime')); times[i].textContent=times[i].getAttribute('datetime').replace('Z','').replace('.000','').replace('T',' '); } },false); })();