您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Sets textareas in sst.dev to 500px high & disables caching.
// ==UserScript== // @name SST Console Customizations // @namespace Violentmonkey Scripts // @match https://console.sst.dev/* // @grant GM_addStyle // @version 1.0 // @author redaphid <[email protected]> // @description Sets textareas in sst.dev to 500px high & disables caching. // @license MIT // ==/UserScript== GM_addStyle( ` textarea { height: 500px; } ` ); (function() { // Disable caching on all resources on sst.dev. var cache = document.cookie.match(/\bcache=[^;]+/); if (cache) { document.cookie = "cache=; expires=Thu, 01 Jan 1970 00:00:00 GMT"; } // Set the height of all textareas to 500px. const t = ()=>{ var textareas = document.querySelectorAll("textarea"); for (var i = 0; i < textareas.length; i++) { textareas[i].removeAttribute("style"); } } setInterval(t,500) })();