您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Expand the collapsed, last read chapters automatically.
当前为
// ==UserScript== // @name ESJ Zone: Auto Expand Collapsed Chapters // @name:zh-TW ESJ Zone:自動打開摺疊章節 // @description Expand the collapsed, last read chapters automatically. // @description:zh-TW 自動展開已折疊的最後閱讀章節。 // @icon https://icons.duckduckgo.com/ip3/www.esjzone.cc.ico // @author Jason Kwok // @namespace https://jasonhk.dev/ // @version 1.0.0 // @license MIT // @match https://www.esjzone.cc/detail/*.html // @match https://www.esjzone.me/detail/*.html // @run-at document-end // @grant none // @supportURL https://greasyfork.org/scripts/487306/feedback // ==/UserScript== const elements = document.querySelectorAll("#chapterList details"); for (const element of elements) { if (element.querySelector("p.active") !== null) { element.open = true; } }