您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Makes TYPO3's debug console resizable.
// ==UserScript== // @name T3ResizableConsole // @name:de T3ResizableConsole // @name:en T3ResizableConsole // @namespace sun/userscripts // @version 1.0.20 // @description Makes TYPO3's debug console resizable. // @description:de Erlaubt die Höhenänderung der TYPO3-Debug-Konsole. // @description:en Makes TYPO3's debug console resizable. // @compatible chrome // @compatible edge // @compatible firefox // @compatible opera // @compatible safari // @homepageURL https://forgejo.sny.sh/sun/userscripts // @supportURL https://forgejo.sny.sh/sun/userscripts/issues // @contributionURL https://liberapay.com/sun // @contributionAmount €1.00 // @author Sunny <[email protected]> // @include *://*/typo3/index.php* // @match *://*/typo3/index.php* // @run-at document-end // @inject-into auto // @grant none // @noframes // @require https://unpkg.com/interactjs // @icon https://forgejo.sny.sh/sun/userscripts/raw/branch/main/icons/T3ResizableConsole.png // @copyright 2020-present, Sunny (https://sny.sh/) // @license Hippocratic License; https://forgejo.sny.sh/sun/userscripts/src/branch/main/LICENSE.md // ==/UserScript== (() => { interact("#typo3-debug-console") .resizable({ edges: { top: true, }, }) .on("resizemove", (event) => { document.querySelectorAll(".t3js-messages.messages")[0].style.height = `${event.rect.height - 77}px`; }) .on("resizestart", () => { document.querySelectorAll("#typo3-contentIframe")[0].style.pointerEvents = "none"; }) .on("resizeend", () => { document.querySelectorAll("#typo3-contentIframe")[0].style.pointerEvents = "initial"; }); // resizestart and resizeend events are required due to the iframe displayed above the console. // See https://github.com/taye/interact.js/issues/200 for details. })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址