Luogu Diff Modify

做题别看难度了哥

当前为 2023-12-22 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Luogu Diff Modify
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description 做题别看难度了哥
  6. // @author You
  7. // @match https://www.luogu.com.cn/problem/*
  8. // @grant none
  9. // @license MIT
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. window.onload = function () {
  14. var num=document.getElementsByClassName("info-rows")[0].childElementCount;
  15. document.getElementsByClassName("info-rows")[0].children[num-2].children[1].remove();
  16. var Diff=document.createElement("span");
  17. Diff.innerHTML='<span data-v-8b7f80ba=""><a data-v-0640126c="" data-v-263e39b8="" data-v-ea4425c6="" href="/problem/list?difficulty=7" class="color-none">🤣<span data-v-263e39b8="" style="color: red;background: linear-gradient(to right, rgb(254, 76, 97),rgb(243, 156, 17),rgb(255, 193, 22),rgb(82, 196, 26), rgb(52, 152, 219),rgb(157, 61, 207),rgb(14, 29, 105));-webkit-background-clip: text;-webkit-text-fill-color: transparent;">不是哥们你做题看难度啊</span>🤣</a></span>';
  18. document.getElementsByClassName("info-rows")[0].children[num-2].appendChild(Diff);
  19. }
  20. })();

QingJ © 2025

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