Skip to content

Twitter: hide trends and who to follow by rybak

Details

Authorrybak

LicenseCC Zero

Categorytwitter.com

Created

Updated

Size1.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Notes

Changelog

  • version 5
    • update for changed CSS class names (the HTML layout is relatively the same)
  • version 4
    • overhaul for changed CSS class names
  • version 3
    • ???
  • version 2
    • Support for all color themes, including "Lights out" (dark), "Dim", and "Default" (light) modes

Source code

/* ==UserStyle==
@name           Twitter: hide trends and who to follow
@namespace      github.com/rybak
@version        5
@description    Hides most of the right sidebar on https://twitter.com
@license        https://creativecommons.org/choose/zero/
@author         Andrei Rybak
==/UserStyle== */
@-moz-document domain("twitter.com") {
	/*
	 * "Lights out" (dark) mode: hide "Trends for you" and "Who to follow"
	 */
	.css-175oi2r.r-kemksi.r-1kqtdi0.r-1867qdf.r-1phboty.r-rs99b7.r-1ifxtd0.r-1udh08x {
		border: 1px solid magenta;
		display: none;
	}
}
@-moz-document domain("twitter.com") {
	/*
	 * "Dim" mode: hide "Trends for you" and "Who to follow"
	 */
	.css-175oi2r.r-yfoy6g.r-18bvks7.r-1867qdf.r-1phboty.r-rs99b7.r-1ifxtd0.r-1udh08x {
		border: 1px solid magenta;
		display: none;
	}
}
@-moz-document domain("twitter.com") {
	/*
	 * "Default" (light) mode: hide "Trends for you" and "Who to follow"
	 */
	.css-175oi2r.r-14lw9ot.r-jxzhtn.r-1867qdf.r-1phboty.r-rs99b7.r-1ifxtd0.r-1udh08x {
		border: 1px solid magenta;
		display: none;
	}
}

Reviews

No reviews yet.