Skip to content

Instantly share code, notes, and snippets.

@schuyler1d
Last active October 21, 2020 21:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save schuyler1d/b07cf220015de65814f252866f06b5fa to your computer and use it in GitHub Desktop.
Save schuyler1d/b07cf220015de65814f252866f06b5fa to your computer and use it in GitHub Desktop.
TestDome hiding candidate names/emails userContent.css file for Firefox
/*
Follow the instructions here to install:
https://davidwalsh.name/firefox-user-stylesheet
Then restart Firefox
*/
/*
Follow the instructions here to install:
https://davidwalsh.name/firefox-user-stylesheet
Then restart Firefox
*/
@-moz-document domain(www.testdome.com) {
#NotCompleted {
}
#ArchivedCandidates .text-left {
background-color: #000 !important;
}
/*My Candidates top page*/
input#NameOrEmail {
display: none !important; /* name/email search */
}
/*name, email first 2 columns */
#Candidates tr td:nth-child(-n+2),
/* 3 columns because there's a checkbox in the test candidate list */
#Passed tr td:nth-child(-n+3),
#NotCompleted tr td:nth-child(-n+3),
#Failed tr td:nth-child(-n+3)
{
width: 5px !important;
overflow: hidden !important;
background-color: blue;
color: blue !important;
}
#Candidates abbr,
#Passed abbr,
#NotCompleted abbr,
#Failed abbr {
/* email communication which includes email on hover */
display: none;
}
#Candidates td strong a,
#Candidates td strong a:visited,
#Candidates td strong a:hover
{
background-color: #525252 !important;
color: #525252 !important;
}
/*candidate page*/
body.small-margin div.container h1 {
/*candidate name*/
background-color: #525252 !important;
}
body.small-margin div.container h1 + a,
body.small-margin div.container h1 + a:visited,
body.small-margin div.container h1 + a:hover
{
background-color: #525252 !important;
color: #525252 !important;
}
}
@-moz-document domain(app.greenhouse.io) {
/* Candidates list page */
table.person td.person-info-column .name a,
/* Individual candidate page */
h1.person-name,
a.email-candidate-icon,
#open_candidate_email_modal,
#application_table div.status-row .status-container .submission-label .status,
#eeoc_request_container .description.submitted,
#application_table .answer a,
#candidate_details_tab .contact-info-item a,
/* Interview kit page */
table#interview_kit td.sidebar .name a,
.sidebar .email,
/* Application review page */
.person-application-details .applicant-header h2 a,
#attachments .attachment-url,
.q-and-a a
{
color: black;
background-color: black;
}
}
@sandramchung
Copy link

I couldn't get this working in Firefox 73.0, even after deleting and re-creating the file in a few different places a few different times with different permissions and toggling the new developer mode option toolkit.legacyUserProfileCustomizations.stylesheets per https://www.ghacks.net/2019/05/24/firefox-69-userchrome-css-and-usercontent-css-disabled-by-default/ . So I'm using the CSS in the Stylus browser extension, which also lets me toggle it on and off at will.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment