Skip to content

Instantly share code, notes, and snippets.

Drinking coffee

Aaron Dunphy aarondunphy

Drinking coffee
View GitHub Profile
aarondunphy / linkedin.js
Last active Oct 27, 2020
Go to and scroll to the bottom of the page so all the people you are following have loaded in. Paste the following code into the browser console. Make sure to update your keywords that you want to unfollow people by.
View linkedin.js
let people = document.querySelectorAll('.follows-recommendation-card');
let keywords = ['recruiter', 'recruitment', 'hunter', 'headhunter', 'acquisition', 'talent'];
people.forEach(person => {
let headline = person.querySelector('.follows-recommendation-card__headline').innerText.toLowerCase();
let shouldUnfollow = false;
keywords.forEach(keyword => {
shouldUnfollow = true;