Show hidden introduction

show the hidden introduction on Luogu

  1. // ==UserScript==
  2. // @name Show hidden introduction
  3. // @namespace http://tampermonkey.net/
  4. // @version v1.0.0.2
  5. // @description show the hidden introduction on Luogu
  6. // @author limesarine
  7. // @match https://www.luogu.com.cn/user/*
  8. // @license © 2024 Limesarine. All rights reserved.
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=luogu.com.cn
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function(){
  14. 'use strict';
  15. const observer=new MutationObserver(()=>{
  16. const introduction=document.getElementsByClassName("introduction marked")[0];
  17. if(introduction)
  18. {
  19. introduction.style.display='block';
  20. introduction.parentElement.childNodes[4].style.display='none'
  21. }
  22. });
  23. observer.observe(document.documentElement,{childList:true,subtree:true});
  24. })();

QingJ © 2025

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