虫洞栈阅读破解

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

目前为 2022-11-18 提交的版本。查看 最新版本

// ==UserScript==
// @name         虫洞栈阅读破解
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  用于取消虫洞栈的阅读全文限制。
// @homepage     https://www.wangxingyang.com
// @author       You
// @match      *://bugstack.cn/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=bugstack.cn
// @license      AGPL License
// ==/UserScript==

(function() {
    'use strict';
    var timeid = "";
    function removeTag(){
        if(document.getElementsByClassName("read-more-wrap").length > 0){
            console.log("移除阅读全文");
            document.getElementsByClassName("read-more-wrap").item(0).remove();
        }
        if(document.getElementsByClassName("lock").length > 0){
            console.log("移除高度限制限制");
            document.getElementsByClassName("lock").item(0).removeAttribute("style");
        }else{
            console.log("再次检查..");
            setTimeout(removeTag,3000)
        }
    }
    removeTag();

})();

QingJ © 2025

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