Luogu Easify

把洛谷所有题目页上的难度标签改成入门

  1. // ==UserScript==
  2. // @name Luogu Easify
  3. // @description 把洛谷所有题目页上的难度标签改成入门
  4. // @version 1
  5. // @match *://www.luogu.com.cn/problem/*
  6. // @grant none
  7. // @run-at document-idle
  8. // @namespace https://gf.qytechs.cn/users/701043
  9. // ==/UserScript==
  10. /*jshint esversion: 6 */
  11.  
  12. (() => {
  13.  
  14. let a = setInterval(() =>{
  15. let dom = document.querySelector('div.flex-lr:nth-child(2) > a:nth-child(2) > span:nth-child(1)');
  16. dom.style = 'color:rgb(231,76,60)'
  17. dom.innerHTML = "入门"
  18. },5)
  19.  
  20. setTimeout(() => clearInterval(a),2000);
  21. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址