TOL Text Field Fix

This script increases the size of the text fields in Time Online, or TOL - Booz Allen Hamilton's web-based time reporting program

  1. // ==UserScript==
  2. // @name TOL Text Field Fix
  3. // @namespace tol.bah.com/main.cfm
  4. // @description This script increases the size of the text fields in Time Online, or TOL - Booz Allen Hamilton's web-based time reporting program
  5. // @include https://tolconnected.bah.com/*
  6. // @include https://tol.bah.com/*
  7. // @include https://sso.bah.com/*
  8. // @include https://access.bah.com/*
  9. // @grant none
  10. // @version 1
  11. // ==/UserScript==
  12. if( document.title == 'Time Sheet' ) {
  13. var elems = document.getElementsByTagName('input'), i;
  14. for (i in elems) {
  15. if((' ' + elems[i].className + ' ').indexOf(' tolwksheet ') > -1) {
  16. elems[i].style.width=35;
  17. }
  18. }
  19. }