Prognocis Tabular Report editor mod

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

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==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";