Greasy Fork

Greasy Fork is available in English.

X/Twitter 纯净浏览 & 一键下载

无损性能!在时间线实现完美的“纯净浏览”体验(去广告、去侧边栏、宽屏),同时提供邦邦硬的“媒体一键下载”功能(视频/图片/GIF)。完美适配手机端,解决下载卡顿问题。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
DesireOr2
日安装量
15
总安装量
24
评分
0 0 0
版本
8.9.1
创建于
2026-01-09
更新于
2026-01-09
大小
24.6 KB
许可证
MIT
适用于

🚀 V8.9 核心修复 / Core Fix:

  • 🔧 修复 HTTP 400 错误:由于推特近期大幅更改了 API 验证规则,导致旧版无法下载视频。本次更新紧急移植了开源项目 X Likes 下载器 的核心参数,完美复活下载功能。
  • 下载速度提示:如果点击下载后长时间转圈无反应,请检查油猴插件的“设置” -> “下载模式”,将其改为 “Browser API” 即可享受极速流式下载。




🚀 V8.9 Core Update:

  • 🔧 Fixed HTTP 400 Error: Twitter recently changed its API validation rules, breaking video downloads. This update integrates core parameters from the open-source X Likes Downloader to fully restore functionality.
  • Speed Tip: If the download button spins for a long time, please check your Tampermonkey Settings -> Download Mode and set it to "Browser API" for faster streaming downloads.


X/Twitter 纯净浏览 & 一键下载

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] 🚫 关键词屏蔽:支持正则匹配,可屏蔽包含特定关键词的推文或用户(通过页面右下角悬浮盾牌图标设置)。


🇺🇸 English Description

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.

✨ Key Features

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.


🙏 鸣谢与参考 / Acknowledgements & Credits

本脚本的开发离不开开源社区的贡献,特别感谢以下优秀项目提供的灵感与核心逻辑:

This script stands on the shoulders of giants. Special thanks to the original authors of these projects:


  • X Likes 下载器 (X Likes Downloader) (V8.9 核心 API 参考 / API Logic Reference)


    🔗 Link to Script

  • X/Twitter Clean menu and sidebar (界面净化基础 / UI Cleaning Base)


    🔗 Link to Script

  • X/Twitter メディア一括ダウンローダー (初始下载逻辑 / Initial Download Logic)


    🔗 Link to Script

  • Twitter MTF killer (屏蔽功能灵感 / Blocker Inspiration)


    🔗 Link to Script