Last active
September 15, 2024 00:28
-
-
Save uncenter/156d462253472a298adb7406549b9a40 to your computer and use it in GitHub Desktop.
Mark potentially botted followers in your Twitter followers list. Highlights users with the default profile picture (marked in red) and/or no description (can have some false positives, marked in orange).
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
/* ==UserStyle== | |
@name Twitter Potential Bots | |
@namespace uncenter/twitter-potential-bots | |
@version 1.0 | |
@author uncenter | |
@description Mark potentially botted followers in your followers list. | |
==/UserStyle== */ | |
@-moz-document regexp("https:\/\/x\.com\/\w+\/followers") { | |
[role="menuitem"][data-testid="removeFollower"] { | |
background-color: red; | |
* { | |
color: black; | |
} | |
} | |
div[aria-label="Timeline: Followers"] { | |
/* Default profile picture */ | |
div[style="width: calc(100% + 4px); height: calc(100% + 4px);"]:has(div + img[src="https://abs.twimg.com/sticky/default_profile_images/default_profile_x96.png"]) { | |
border: 3px solid red; | |
} | |
/* No description */ | |
[data-testid="UserCell"]:not(:has(> div > div > [style="text-overflow: unset; color: rgb(231, 233, 234);"])) { | |
border: 3px solid orange; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment