Empty user info and function bar

try to take over the world!

  1. // ==UserScript==
  2. // @name Empty user info and function bar
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author chunyi.mo
  7. // @match https://blog.51cto.com/*/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13. const timer = setInterval(() => {
  14. const pageContentLeft = document.querySelector(".page-content-left");
  15. const pageContentRight = document.querySelector(".page-content-right");
  16. const functionBar = document.querySelector(".page-content-right .function-bar");
  17. if (pageContentLeft && pageContentRight && functionBar) {
  18. pageContentLeft.style.display = 'none';
  19. pageContentRight.style.width = 'auto';
  20. functionBar.style.display = 'none'
  21. clearInterval(timer);
  22. }
  23. }, 10)
  24. })();

QingJ © 2025

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