Skip to content

twitter but you can't interact by meow-d

Screenshot of twitter but you can't interact

Details

Authormeow-d

LicenseCC Zero

Categorytwitter.com

Created

Updated

Size2.5 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

twitter with no timeline, no likes, no retweets, no buttons, nothing. just the tweets.

Notes

i made this because i wanna see tweets people link, but i don't want an account, but i have to create one to see them.

changelog

1.1.0

  • unhide media buttons
  • you can now toggle hiding timeline and back button

1.1.1

  • unhide more media buttons that i missed
  • unhide translate button

Source code

/* ==UserStyle==
@name           twitter but you can't interact
@namespace      github.com/openstyles/stylus
@version        1.1.2
@description    twitter with no timeline, no likes, no retweets, no buttons, nothing. just the tweets.
@author         meow_d
@preprocessor   stylus
@license        CC Zero
@var checkbox   hideTimeline "hide timeline" 0
@var checkbox   hideBackButton "hide back button" 0
==/UserStyle== */
@-moz-document domain("twitter.com"),
domain("x.com") {

    /* this will literally hide everything */
    /* div[aria-label="Home timeline"], */
    /* sidebar */
    div[data-testid="sidebarColumn"],
    div[aria-label="Timeline: Trending now"],
    aside[aria-label="Subscribe to Premium"],
    aside[aria-label="Who to follow"],

    /* hide every button possible */
    *[role="button"],
    a[aria-label$="View post analytics"],

    /* text input fields */
    div[aria-label="Post text"],
    .css-175oi2r.r-18u37iz.r-184en5c {
        display: none !important;
    }

    /* sidebar */
    /* this changes layout so i had to use this */
    header[role="banner"] {
        visibility: hidden !important;
    }


    /* unhide stuff that got hidden by "*[role=button]" */
    /* back button */
    button[aria-label="Back"],

    /* media controls */
    button[aria-label="Pause"],
    button[aria-label="Play"],
    button[aria-label="Mute"],
    button[aria-label="Unmute"],
    button[aria-label="Video Settings"],
    button[aria-label="Full screen"],
    button[aria-label="Exit full screen"],
    .css-146c3p1.r-bcqeeo.r-qvutc0.r-37j5jr.r-n6v787.r-1cwl3u0.r-16dba41.r-6koalj.r-1w6e6rj.r-14gqq1x.r-1loqt21.r-fdjqy7,
    .css-146c3p1.r-dnmrzs.r-1udh08x.r-3s2u2q.r-bcqeeo.r-qvutc0.r-37j5jr.r-q4m81j.r-a023e6.r-rjixqe.r-16dba41.r-6koalj.r-1w6e6rj.r-14gqq1x,
    .css-1jxf684.r-bcqeeo.r-qvutc0.r-poiln3.r-n6v787.r-1cwl3u0.r-1loqt21.r-fdjqy7,
    .css-18t94o4.css-1dbjc4n.r-1awozwy.r-18u37iz.r-1wbh5a2.r-1ny4l3l.r-o7ynqc.r-6416eg {
        display: inherit !important;
    }


    /* toggles */
    if hideTimeline {
        /* timeline */
        div[aria-label="Timeline: Your Home Timeline"],
        nav[aria-label="Primary"],
        [data-testid="emptyState"],

        /* timeline topbar */
        a[aria-label="Timeline settings"],
        a[role="tab"] {
            display: none !important;
        }
    }

    if hideBackButton {
        button[aria-label="Back"] {
            display: none !important;
        }
    }
}

Reviews

No reviews yet.