Skip to content

twitter.com Without stat ! by bunlang

Details

Authorbunlang

LicenseNo License

Categorytwitter

Created

Updated

Size856 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Hide stats recently added in Twitter from tweets.

Disabling in tweet details may coming later.

Notes

CHANGELOG

2023-01-17

  • Fix deleted element in tweet list view with Twitter UI change (now 4th element, was 1st)
  • Remove stats in tweet details view

2022-12-23

  • First version

Source code

/* ==UserStyle==
@name         twitter.com Without stat !
@version      2023.01.17.9
@namespace    userstyles.world/user/bunlang
@description  Hide stats recently added in Twitter from tweets and tweet details
@author       bunlang
@license      No License
==/UserStyle== */

@-moz-document domain("twitter.com") {
    /* Stats in tweet */
    section[aria-labelledby^="accessible-list"] div:only-child > article[data-testid="tweet"] div[role="group"] > div:nth-child(4) {
        display: none;
    }
    
    /* Stats in tweet details */
    div[data-testid="cellInnerDiv"]:first-of-type article[data-testid="tweet"] > div a[href*="/status/"] + span,
    div[data-testid="cellInnerDiv"]:first-of-type article[data-testid="tweet"] > div a[href*="/status/"] + span + span {
        display: none;
        border: 1px red solid;
    }
}

Reviews

No reviews yet.