Last active
December 5, 2023 19:21
-
-
Save grahams/e0bfe49d30c8267ffc0d3eff611df275 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Paylocity Enhance | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js | |
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js | |
// @namespace https://app.paylocity.com/ | |
// @version 0.1 | |
// @description Try to make Paylocity's UI marginally better | |
// @author Sean Graham | |
// @match https://app.paylocity.com/PerformanceManagement/Reviews/activeReviews | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=paylocity.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
function recolorPending() { | |
$('.pcty-info:contains("Employee Self Appraisal Pending")').removeClass('pcty-info').addClass('pcty-warning'); | |
} | |
waitForKeyElements(".pcty-info", recolorPending); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment