Prognocis Tabular Report editor mod

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

  1. // ==UserScript==
  2. // @name Prognocis Tabular Report editor mod
  3. // @namespace prognocis.com
  4. // @version 2025.01.24.0908
  5. // @description modifies the height of divs to show more rows in the table editor
  6. // @author mrkrag
  7. // @match *.prognocis.com/prognocis/Reports.action2*
  8. // @icon https://prognocis.com/wp-content/uploads/2020/07/cropped-Fav-192x192.png
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. const datadiv = document.getElementById("datadiv");
  14. // be sure to include the [index] when selecting by class name because it returns an array
  15. const fhttbody = document.getElementsByClassName("fht-tbody")[0];
  16.  
  17. // Replace the value of the 'height' attributes
  18. datadiv.style.height = "460px";
  19. fhttbody.style.height = "430px";
  20.