Greasy Fork

Twitter: expand tweets automaticly

For Tweets which have the "show more" Button this Script will click this button automaticly & it will remove the lineclamp on quoted tweets

作者
schubsijan
日安装量
1
总安装量
3
评分
0 0 0
版本
0.1
创建于
2025-07-10
更新于
2025-07-10
大小
1.2 KB
许可证
MIT
适用于

Twitter: Expand Tweets Automatically

Description

This lightweight userscript automatically expands truncated tweets on Twitter/X, eliminating the need to manually click "Show more" buttons. It provides a seamless reading experience by ensuring all tweet content is immediately visible without user interaction.

Features

Automatic Tweet Expansion

  • Auto-click "Show more": Automatically clicks the "Show more" button on truncated tweets
  • Instant visibility: No manual clicking required - tweets expand as soon as they load
  • Real-time processing: Works with dynamically loaded content as you scroll

Quoted Tweet Enhancement

  • Remove line clamps: Automatically removes CSS line-clamp restrictions on quoted tweets
  • Full content display: Ensures quoted tweets show their complete text content
  • Improved readability: No more cut-off text in embedded quotes

Universal Compatibility

  • Works on both domains: Compatible with both twitter.com and x.com
  • No configuration needed: Works immediately upon installation

How to Use

Installation

  1. Install the script by clicking on the button in a userscript manager like Tampermonkey, Greasemonkey, or Violentmonkey
  2. Visit Twitter/X - tweets will automatically expand

Why It's Useful

Enhanced Reading Experience

  • Uninterrupted browsing: No need to click "Show more" on every long tweet
  • Complete context: Always see the full tweet content without truncation
  • Faster consumption: Spend less time clicking and more time reading
  • Full quoted tweets: See complete quoted tweet content without truncation

Technical Details

  • Lightweight: Minimal impact on page performance
  • Efficient DOM queries: Uses specific selectors to avoid unnecessary processing
  • Non-intrusive: Doesn't interfere with Twitter's native functionality