Larger, wider and taller default WYSIWYG description area in the XML item editor - Archive.org

By default the description area is tiny, and resizing it every time is a bit of a pain.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name        Larger, wider and taller default WYSIWYG description area in the XML item editor - Archive.org
// @description By default the description area is tiny, and resizing it every time is a bit of a pain.
// @namespace   Violentmonkey Scripts
// @match       https://archive.org/editxml/*
// @grant       none
// @run-at      document-start
// @version     2020.03.27
// @author      Swyter
// ==/UserScript==

/* swy: quick and dirty override; but it seems to work */
window.addEventListener('DOMContentLoaded', function(e)
{
  document.querySelector("textarea#id_description").style="width: 905px; height: 406px; display:none;";
  document.querySelector("div.wysiwyg").style="width: 910px; height: 500px;";
  document.querySelector("div.resizer.ui-resizable").style="height: 473px; width: 910px;";
})