虫洞栈阅读破解

用于取消虫洞栈的阅读全文限制。

  1. // ==UserScript==
  2. // @name 虫洞栈阅读破解
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.2
  5. // @description 用于取消虫洞栈的阅读全文限制。
  6. // @homepage https://www.wangxingyang.com
  7. // @author You
  8. // @match *://bugstack.cn/*
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=bugstack.cn
  10. // @license AGPL License
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. function removeTag(){
  16. if(document.getElementsByClassName("read-more-wrap").length > 0){
  17. console.log("移除阅读全文");
  18. document.getElementsByClassName("read-more-wrap").item(0).remove();
  19. }
  20. if(document.getElementsByClassName("lock").length > 0){
  21. if(document.getElementsByClassName("lock").item(0).hasAttribute("style")){
  22. console.log("移除高度限制限制");
  23. document.getElementsByClassName("lock").item(0).removeAttribute("style");
  24. }
  25. }
  26. setTimeout(removeTag,3000)
  27. }
  28. removeTag();
  29.  
  30. })();

QingJ © 2025

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