您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
simple scrolling when change is detected in the body of the page
// ==UserScript== // @name auto scroll when content is added // @namespace Violentmonkey // @match https://texthooker.com/* // @grant none // @version 1.0 // @author Takemi // @description simple scrolling when change is detected in the body of the page // @license MIT // ==/UserScript== const container = document.querySelector("body"); if (container) { const observer = new MutationObserver(() => { container.scrollTop = container.scrollHeight; }); observer.observe(container, { childList: true, subtree: true }); }