ADP Expand Timecard

Expand My Timecard section on workforcenow.adp.com so you don't have to check your timecard in a tiny viewport.

  1. // ==UserScript==
  2. // @name ADP Expand Timecard
  3. // @namespace gqqnbig.me
  4. // @version 0.1
  5. // @description Expand My Timecard section on workforcenow.adp.com so you don't have to check your timecard in a tiny viewport.
  6. // @author gqqnbig
  7. // @match https://workforcenow.adp.com/portal/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. setInterval(()=>{
  15. if($(".dijitTitlePaneTextNode[data-dojo-attach-point=titleNode]").text().trim()==="My Timecard")
  16. {
  17. $("#targetPane").css("height","");
  18. $("#gridDiv").css("height","");
  19. $("#TcGridDiv").css("height","");
  20. }
  21. },2000);
  22. })();