Prognocis Tabular Report editor mod

modifies the height of divs to show more rows in the table editor

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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         Prognocis Tabular Report editor mod
// @namespace    prognocis.com
// @version      2025.01.24.0908
// @description  modifies the height of divs to show more rows in the table editor
// @author       mrkrag
// @match        *.prognocis.com/prognocis/Reports.action2*
// @icon         https://prognocis.com/wp-content/uploads/2020/07/cropped-Fav-192x192.png
// @grant        none
// @license      MIT
// ==/UserScript==

const datadiv = document.getElementById("datadiv");
// be sure to include the [index] when selecting by class name because it returns an array
const fhttbody = document.getElementsByClassName("fht-tbody")[0];

// Replace the value of the 'height' attributes
datadiv.style.height = "460px";
fhttbody.style.height = "430px";