Skip to content

Instantly share code, notes, and snippets.

@jakeayy
Created June 8, 2024 21:07
Show Gist options
  • Select an option

  • Save jakeayy/7dc3c4e17921428148b6aec47940b5a4 to your computer and use it in GitHub Desktop.

Select an option

Save jakeayy/7dc3c4e17921428148b6aec47940b5a4 to your computer and use it in GitHub Desktop.

Revisions

  1. kvba created this gist Jun 8, 2024.
    18 changes: 18 additions & 0 deletions NO-NFT-CRYPTO.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    /* 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;
    }