Created
November 21, 2021 17:11
-
-
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.
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
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