Skip to content

Twitter Hide Warning by rod24574575

Mirrored from https://github.com/rod24574575/monorepo/raw/main/packages/twitter-hide-warning/twitter-hide-warning.user.styl

Details

Authorrod24574575

LicenseMIT

Categorytwitter.com

Created

Updated

Size729 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Hide the warning in X (Twitter).

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Twitter Hide Warning
@version      1.0.2
@namespace    https://github.com/rod24574575
@description  Hide the warning in X (Twitter).
@author       rod24574575
@homepageURL  https://github.com/rod24574575/monorepo
@supportURL   https://github.com/rod24574575/monorepo/issues
@license      MIT
==/UserStyle== */

@-moz-document domain("twitter.com") {
  /* sensitive content */
  div[aria-labelledby^=id] > div:only-child,
  li[id^=verticalGridItem-] {
    & > div:only-child > div:only-child > div:first-child:has(> :last-child:nth-child(2)) {
      & > div:nth-child(1) {
        filter: unset !important;
      }

      & > div:nth-child(2) {
        display: none !important;
      }
    }
  }
}

Reviews

No reviews yet.