关于 Luogu Easify
  • 板块灌水区
  • 楼主喵仔牛奶
  • 当前回复2
  • 已保存回复2
  • 发布时间2024/10/14 16:10
  • 上次更新2024/10/14 19:49:03
查看原帖
关于 Luogu Easify
560516
喵仔牛奶楼主2024/10/14 16:10

为啥我的这个没有用啊 /kk

// ==UserScript==
// @name     Luogu Easify
// @description 把洛谷所有题目页上的难度标签改成入门
// @version  1
// @match    *://www.luogu.com.cn/problem/*
// @grant    none
// @run-at   document-idle
// @namespace https://greasyfork.org/users/701043
// @downloadURL https://update.greasyfork.org/scripts/415414/Luogu%20Easify.user.js
// @updateURL https://update.greasyfork.org/scripts/415414/Luogu%20Easify.meta.js
// ==/UserScript==
/*jshint esversion: 6 */

(() => {

let a = setInterval(() =>{
	let dom = document.querySelector('div.flex-lr:nth-child(2) > a:nth-child(2) > span:nth-child(1)');
  dom.style = 'color:rgb(231,76,60)'
  dom.innerHTML = "入门"
},5)

setTimeout(() => clearInterval(a),2000);
  
})();
2024/10/14 16:10
加载中...