Created
April 18, 2025 14:51
-
-
Save krohne/074bd4f4bb861cbdc28652ca06a82614 to your computer and use it in GitHub Desktop.
Cognizant Talent Market Place - temporarily remove unneeded content
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
/* Create a bookmark in your Bookmarks Bar. Name it something like "TMP clean up" */ | |
/* Paste this code snippet into the URL field */ | |
javascript: (() => { | |
[ | |
"dashboard-profile-wrapper cil-wrapper", /* scrolling banner reminder */ | |
"maintenancemessage", /* keep-your-profile-updated reminder */ | |
"welcome-msg-wrapper", /* profile-last-updated + aging + rotation-eligible block */ | |
"ls_dynamic_div", /* help button */ | |
].forEach((id) => { | |
var elem = document.getElementById(id); | |
elem?.parentElement.removeChild(elem); | |
}); | |
/* trending-skills + ticker side bar */ | |
let elem = document.querySelector("#dashboard-content-wrapper .container .row .col-sm-4.content-block"); | |
elem?.parentElement.removeChild(elem); | |
/* job list you actually care about */ | |
elem = document.querySelector("#dashboard-content-wrapper .container .row .col-sm-8.content-block"); | |
elem?.classList.replace('col-sm-8', 'col-sm-auto'); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment