Twitter/X Layout Modifier

Remove right sidebar, expand middle column, and inject custom vertical image stack with sizing fixes

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Skaber
maye9999
Daglige installationer
1
Installationer i alt
35
Bedømmelser
0 0 0
Version
1.4.5
Oprettet
31.12.2025
Opdateret
31.12.2025
Size
14,9 kB
Licens
MIT
Gælder for

Twitter/X Layout Modifier - Full Width & Clean Image Stack

Description

Unlock the full potential of your high-resolution screen on Twitter (X.com). This script transforms the constrained, cluttered layout into a spacious, content-focused experience. It removes the distracting right sidebar, expands the main feed to fill the screen, and completely reinvents how image grids are displayed.

Say goodbye to tiny, cropped previews in 4-image grids. This script "unrolls" them into a beautiful, full-width vertical stack (waterfall style), ensuring every pixel of your images is visible without clicking.

Key Features

🚀 Immersive Layout

  • Remove Sidebar: Hides the "Trends" and "Who to follow" right sidebar for a distraction-free reading experience.
  • Full-Width Feed: Expands the central timeline column to take up 100% of the available width.

✨ Enhanced Media Experience

  • No More Cropping: Bypasses Twitter's default cropped grid view. All images are displayed in their full aspect ratio.
  • Vertical Image Stack: Automatically detects image grids (2, 3, or 4 photos) and converts them into a clean vertical list.
  • High-Resolution: Fetches the highest quality version (name=large) of every image automatically.
  • Smart Sizing:
    • Landscape images expand to fill the full width of the column.
    • Tall/Portrait images are intelligently constrained to fit within your screen height (85vh), so you can see the whole image at once without endless scrolling.
  • Visual Clarity: Adds subtle separators between stacked images for better distinction.
  • Direct Interaction: Clicking any image opens the original source in a new tab.

Compatibility

  • Works on the latest version of Twitter/X (as of late 2025).
  • Seamlessly handles light and dark modes.

Note: This script relies on Twitter's DOM structure. If Twitter pushes a major design update, check back for a new version.