Skip to content

Instantly share code, notes, and snippets.

@cfxd
Created November 21, 2021 17:11
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cfxd/b612800968cc97f66cdba6604c0ac25d to your computer and use it in GitHub Desktop.
Save cfxd/b612800968cc97f66cdba6604c0ac25d to your computer and use it in GitHub Desktop.
How to hide Toptal LinkedIn jobs spam. Open your Chrome Dev Tools console and copy/paste this JS.
document.querySelectorAll('button[aria-label*="Hide"]').forEach(function(el, index) {
if(el.closest('.job-card-list__entity-lockup').querySelector('.job-card-container__company-name').innerHTML.trim() == 'Toptal') {
el.click();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment