Created
April 11, 2024 09:01
-
-
Save zry98/617397f34262c93ddb6d1b8747629ba0 to your computer and use it in GitHub Desktop.
uBlock custom filters for hiding Twitter's sensitive content warning annoyances
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 Twitter sensitive content warnings | |
! timeline | |
twitter.com##:xpath(//span[contains(text(), 'Content warning: ')]/../../../..) | |
twitter.com##:xpath(//span[contains(text(), 'Content warning: ')]/../../../../preceding-sibling::div):style(filter: blur(0) !important) | |
! user media page | |
twitter.com##:xpath(//span[text()='Warning: Sensitive content']/../..) | |
twitter.com##:xpath(//span[text()='Warning: Sensitive content']/../../preceding-sibling::div):style(filter: blur(0) !important) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment