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 });
}