您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
用于取消虫洞栈的阅读全文限制。
// ==UserScript== // @name 虫洞栈阅读破解 // @namespace http://tampermonkey.net/ // @version 0.2 // @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'; 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){ if(document.getElementsByClassName("lock").item(0).hasAttribute("style")){ console.log("移除高度限制限制"); document.getElementsByClassName("lock").item(0).removeAttribute("style"); } } setTimeout(removeTag,3000) } removeTag(); })();