您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
自用
当前为
// ==UserScript== // @name ixdzs8.tw // @namespace pl816098 // @version 1.2.1 // @description 自用 // @author paul // @match https://ixdzs8.tw/read/*/*.html // @match https://ixdzs8.tw/read/* // @icon https://www.google.com/s2/favicons?sz=64&domain=ixdzs8.tw // @license MIT // @grant GM_addStyle // @grant window.close // ==/UserScript== var url = window.location.href; var pattern = { book: /^(https?:\/\/)(ixdzs8\.tw\/read\/[0-9]*\/(?!end)p[0-9]*\.html)$/gm, info: /^(https?:\/\/)(ixdzs8\.tw\/read\/[0-9]*\/)$/gm, end: /^(https?:\/\/)(ixdzs8\.tw\/read\/[0-9]*\/end\.html)$/gm, }; if (pattern.book.test(url)) { document.querySelector("#page-id3").remove(); document.querySelector("#page-toolbar").remove(); document.querySelector("#page > article > section > p:nth-child(1)").remove(); GM_addStyle(` .page-content{ max-width: none; padding: 10px 15px; transform: translateX(0px); background: #ffffff!important; } `); } else if (pattern.end.test(url)) { // console.log("end"); window.close(); } else if (pattern.info.test(url)) { document.querySelector("#intro").click(); }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址