Created
June 8, 2024 21:07
-
-
Save meowabyte/7dc3c4e17921428148b6aec47940b5a4 to your computer and use it in GitHub Desktop.
Few CSS snippets for Old Twitter Layout for hiding certain content
This file contains hidden or 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
/* Tweet */ | |
div.tweet:has( | |
/* Disable tweets with crypto/nft tags */ | |
a[href^="/search?q=%24"], a[href^="/hashtag/BTC"], a[href^="/hashtag/ETH"], a[href^="/hashtag/btc"], | |
a[href="/hashtag/eth"], a[href^="/hashtag/Bitcoin"], a[href^="/hashtag/Btc"], a[href="/hashtag/Eth"], | |
a[href^="/hashtag/Etherium"], a[href^="/hashtag/etherium"], a[href^="/hashtag/BITCOIN"], a[href^="/hashtag/ETHERIUM"], | |
a[href^="/hashtag/Altcoins"], a[href^="/hashtag/Altcoin"], a[href^="/hashtag/altcoins"], a[href^="/hashtag/altcoin"], | |
a[href="/hashtag/xrp"], a[href="/hashtag/XRP"], a[href="/hashtag/Xrp"], a[href^="/hashtag/Crypto"], | |
a[href^="/hashtag/crypto"], a[href^="/hashtag/CRYPTO"], a[href^="/hashtag/nft"], a[href^="/hashtag/Nft"], | |
a[href^="/hashtag/NFT"], | |
/* Disable tweets with authors having crypto/nft username */ | |
a[href^="/"][href*="nft"], a[href^="/"][href*="NFT"], a[href^="/"][href*="Nft"], a[href^="/"][href*="btc"], | |
a[href^="/"][href*="BTC"], a[href^="/"][href*="Btc"], a[href^="/"][href*="Eth"], a[href^="/"][href*="ETH"], | |
a[href^="/"][href*="eth"], a[href^="/"][href*="crypto"], a[href^="/"][href*="Crypto"] | |
) { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment