Greasy Fork is available in English.
无损性能!在时间线实现完美的“纯净浏览”体验(去广告、去侧边栏、宽屏),同时提供邦邦硬的“媒体一键下载”功能(视频/图片/GIF)。完美适配手机端,解决下载卡顿问题。
🚀 V8.9 核心修复 / Core Fix:
🚀 V8.9 Core Update:
X/Twitter Pure Experience & Downloader
👨💻 作者的话 / Foreword
这个脚本是作者(代码小白)在苦恼于现有 X/Twitter 脚本功能过于单一后,通过整合各位前辈的优秀代码,结合 AI (Gemini) 辅助,并与朋友反复讨论优化后的最终版本。
我们的目标是打造一个 既全能又极致轻量、安全 的浏览助手。如果有做得不完美的地方,还请大家多多包涵指教!
这是一个 性能极致优化 的 X (Twitter) 增强脚本,集成了界面净化、宽屏布局、媒体下载和关键词屏蔽四大功能。
与市面上其他脚本不同,本脚本采用了 🛡️ 零后台请求 和 ⚡ 增量 DOM 检测 技术,绝不会 在后台私自请求推特 API,彻底杜绝因脚本请求过多导致的账号限流或封禁风险。
1. 📺 媒体一键下载 (Media Downloader)
• [x] 📥 原生集成:下载按钮完美融入推文底部的操作栏(位于分享按钮右侧),不突兀。
• [x] 📷 高清原图:自动解析并下载最高分辨率的图片。
• [x] 📹 高清视频:自动提取最高码率(最清晰)的 MP4 视频。
• [x] 🎞️ GIF 支持:自动将 GIF 动图转换为 MP4 视频下载。
• [x] 📦 批量打包:多图推文自动打包为 ZIP 文件,文件名智能包含博主 ID 和日期,方便整理。
2. 🧹 界面极致净化 (UI Cleaner)
• [x] 🗑️ 隐藏杂项:可隐藏 Grok、Premium 订阅、已认证组织、探索、书签、招聘广告等无关干扰。
• [x] 🚫 隐藏右侧栏:彻底隐藏右侧的“推荐关注”和“趋势”栏,专注于推文内容。
• [x] 🛡️ 隐藏广告:自动拦截推文流中的推广内容。
3. 🖥️ 宽屏与布局 (Layout & Design)
• [x] ⬅️ 靠左对齐:可选开启“宽屏模式”,将左侧菜单贴边,不仅美观,更能利用宽屏空间。
• [x] 📏 自定义宽度:随心调节推文区域的宽度(支持 600px - 1200px 自由调整),大屏浏览体验更爽。
4. 🛡️ 安全屏蔽器 (Safe Blocker)
• [x] 🔒 纯本地运行:所有屏蔽逻辑完全在本地运行,不消耗 API 配额,安全防封。
• [x] ⚡ CSS 极速隐藏转发:利用现代浏览器 :has() 技术,无损隐藏所有转发推文(Retweets),只看原创。
• [x] 🚫 关键词屏蔽:支持正则匹配,可屏蔽包含特定关键词的推文或用户(通过页面右下角悬浮盾牌图标设置)。
This is a performance-optimized userscript for X (Twitter) that combines UI Cleaning, Widescreen Layout, Media Downloading, and Keyword Blocking.
Unlike other scripts, this tool uses 🛡️ Zero Background Requests and ⚡ Incremental DOM Processing technology. It NEVER makes unauthorized API calls in the background, completely eliminating the risk of account rate-limiting or shadowbanning caused by excessive script requests.
1. Media Downloader
• [x] 📥 Integrated UI: The download button acts natively in the tweet action bar (next to the Share button).
• [x] 📷 Original Quality: Downloads images in their highest available resolution.
• [x] 📹 Best Video Quality: Automatically fetches the highest bitrate MP4 video available.
• [x] 🎞️ GIF Support: Downloads GIFs as MP4 files.
• [x] 📦 Batch ZIP: Automatically zips multiple images from a single tweet. Filenames include UserID and Date.
2. UI Cleaner
• [x] 🗑️ Remove Clutter: Hides Grok, Premium, Verified Orgs, Jobs, and other distractions.
• [x] 🚫 Hide Sidebar: Removes the right sidebar (Trends/Who to follow) for a focused reading experience.
• [x] 🛡️ Ad Blocker: Hides promoted tweets locally.
3. Widescreen & Layout
• [x] ⬅️ Left Align: Optional "Widescreen Mode" moves the timeline to the left, utilizing screen space better.
• [x] 📏 Custom Width: Adjust the timeline width to your liking (e.g., 600px - 1200px).
4. Safety Blocker
• [x] 🔒 Local Processing: All blocking logic runs locally without consuming API quotas.
• [x] ⚡ Hide Retweets: Uses modern CSS :has() for instant, performance-free hiding of retweets (keeps pinned tweets visible).
• [x] 🚫 Keyword Blocking: Blocks tweets/users based on keywords (regex supported), managed via the floating shield icon.
本脚本的开发离不开开源社区的贡献,特别感谢以下优秀项目提供的灵感与核心逻辑:
This script stands on the shoulders of giants. Special thanks to the original authors of these projects: