洛谷++

洛谷底部会有变化

当前为 2024-04-06 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name 洛谷++
  3. // @namespace https://www.luogu.com.cn/user/1030733
  4. // @version 1.0.2.1
  5. // @description 洛谷底部会有变化
  6. // @author nythm
  7. // @match https://www.luogu.com.cn/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=luogu.com.cn
  9. // @grant none
  10. // @license GPL
  11. // ==/UserScript==
  12. (function() {
  13. 'use strict';
  14. const target = document.evaluate('/html/body/div[1]/div[2]/div[2]/div[2]/div[1]/text()[2]', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
  15. if (target) {
  16. target.textContent = "享受 play dick 的快乐";
  17. }
  18. })();
  19. (function() {var css = "";
  20. css += [
  21. "[data-v-e5ad98f0][data-v-f9624136]{",
  22. " display:block !important;",
  23. "}",
  24. ].join("\n");
  25. if (typeof GM_addStyle != "undefined") {
  26. GM_addStyle(css);
  27. } else if (typeof PRO_addStyle != "undefined") {
  28. PRO_addStyle(css);
  29. } else if (typeof addStyle != "undefined") {
  30. addStyle(css);
  31. } else {
  32. var node = document.createElement("style");
  33. node.type = "text/css";
  34. node.appendChild(document.createTextNode(css));
  35. var heads = document.getElementsByTagName("head");
  36. if (heads.length > 0) {
  37. heads[0].appendChild(node);
  38. } else {
  39. // no head yet, stick it whereever
  40. document.documentElement.appendChild(node);
  41. }
  42. }
  43. })();

QingJ © 2025

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