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