Created
October 16, 2024 09:18
-
-
Save alexanderisora/402dcae54085916c6bb1bdb4e040281d to your computer and use it in GitHub Desktop.
custom_x_pro_filters.css
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
/* Hide all notifications by default */ | |
[data-testid="notification"] { | |
display: none !important; | |
} | |
/* Show only notifications containing "liked your reply" or "replied" */ | |
[data-testid="notification"]:has(span:contains("liked your reply")), | |
[data-testid="notification"]:has(span:contains("replied")) { | |
display: block !important; | |
} | |
/* Hide the "New post notifications for" section */ | |
[role="article"]:has(span:contains("New post notifications for")) { | |
display: none !important; | |
} | |
/* Ensure reply tweets are visible */ | |
[data-testid="tweet"] { | |
display: block !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment