Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MAKING TWITTER'S NEW LAYOUT LESS PANTS-ON-HEAD STUPID
- Things you need:
- 1. "UBlock Origin" browser extension - for removing unwanted elements on the page
- 2. "Stylus" extension - for adjusting the appearance & sizes of elements of the page
- 3. A desktop computer, which Twitter has apparently forgot how to design web interfaces for
- Instructions:
- Open the UBlock Origin extension. Go to the " My Filters" tab and paste this:
- ! TWITTER -------------------------------------------
- ! Remove right sidebar column - "Worldwide Trends", "Who to Follow", etc
- twitter.com##[data-testid*="sidebarColumn"]
- ! "Compose Tweet" header button... which is where the "explore" searchbar used to be, which actually made fucking sense
- twitter.com##a[href*="compose/tweet"][aria-haspopup="false"]
- ! Unwanted Left Column items. Just replace the "has-text" argument with the text of the icon you want to remove
- twitter.com##a[aria-haspopup="false"]:has(span:has-text(Bookmarks))
- twitter.com##a[aria-haspopup="false"]:has(span:has-text(Lists))
- ! END TWITTER ----------------------------------------------
- Next, open the Stylus extension. Make a new Style called "Twitter", set "URLs on the domain" to "twitter.com", and paste this:
- /* Targets the container for the middle and right side columns.
- /* Makes a little bit of space to the right of the Tweet feed. */
- [role="main"].css-1dbjc4n.r-1habvwh.r-16y2uox.r-1wbh5a2 {
- margin-right:100px !important; /* Change this value to whatever looks best on your monitor */
- }
- /* Targets the highest level (primaryColumn) and lowest level (the random-ish series of letters)
- /* container for the column of tweets. Greatly increases the Tweet feed column's max width while
- /* keeping its ability to resize in smaller windows. */
- [data-testid*="primaryColumn"], .css-1dbjc4n.r-1jgb5lz.r-1ye8kvj.r-6337vo.r-13qz1uu {
- margin-left:0px !important;
- margin-right:0px !important;
- max-width: 900px !important; /* Change this value to whatever looks best on your monitor */
- }
- Congratulations, you now have a social media page that looks like it wasn't designed by bleach-drinking monkeys!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement