Make yahoo! notepad a little less bad

3/17/2021, 2:13:08 AM

// ==UserScript==
// @name        Make yahoo! notepad a little less bad
// @namespace   Violentmonkey Scripts
// @match       https://calendar.yahoo.com/
// @grant       none
// @version     1.0
// @author      -
// @description 3/17/2021, 2:13:08 AM
// ==/UserScript==

setInterval(()=> {
  const editor = document.body.querySelector("div[role=textbox][contenteditable=true]");
  if (editor) {
    editor.style.whiteSpace='pre';
  }
}, 500);