Created
August 27, 2020 09:51
-
-
Save ahmadawais/ad4bc1da42f40d54666e5812d7bf7b62 to your computer and use it in GitHub Desktop.
TWITTER: Remove the followers from twitter following tab to see the people who don't follow you back. Hacky as heck :P
This file contains 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("div[role=\"button\"]").forEach(el => { | |
const follower = /Follows you/g.test(el.textContent); | |
follower && el.parentNode.parentNode.remove(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment