SST Console Customizations

Sets textareas in sst.dev to 500px high & disables caching.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==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)
})();