Greasy Fork is available in English.

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

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

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
DesireOr2
Daglige installationer
9
Installationer i alt
514
Bedømmelser
2 1 0
Version
9.3
Oprettet
09.01.2026
Opdateret
18.01.2026
Size
30,4 kB
Licens
MIT
Gælder for

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

X/Twitter Pure Experience & Downloader




👨‍💻 作者的话 / Foreword

这个脚本是作者(代码小白)在苦恼于现有 X/Twitter 脚本功能过于单一后,通过整合各位前辈的优秀代码,结合 AI (Gemini) 辅助,并与朋友反复讨论优化后的最终版本。

V9.3 更新: 我们不仅稳,现在还更自由!新增了“自定义文件名”功能,想怎么命名文件完全由你决定。


🇨🇳 中文介绍

这是一个 性能极致优化 的 X (Twitter) 增强脚本,集成了界面净化、宽屏布局、媒体下载和关键词屏蔽四大功能。

与市面上其他脚本不同,本脚本采用了 🛡️ 零后台请求⚡ 增量 DOM 检测 技术,绝不会 在后台私自请求推特 API(除下载时必须的请求外),彻底杜绝因脚本请求过多导致的账号限流或封禁风险。

✨ 核心特性

1. 📺 媒体一键下载 (Media Downloader)


• [x] 📥 原生集成:下载按钮完美融入推文底部的操作栏(位于分享按钮右侧),不突兀。


• [x] 🎨 自定义文件名:(New!) 支持自定义文件命名格式(如:日期_博主_ID),再也不用担心文件乱糟糟。


• [x] 📹 稳定内核:采用验证通过的稳定版 API 参数,完美解决 HTTP 400 报错,支持 1080P/4K 高清视频。


• [x] ⚡ 流式下载:优先使用浏览器原生下载接口,速度极快且不占用内存(需在油猴设置中允许下载权限)。


• [x] 📦 批量打包:多图推文自动打包为 ZIP 文件。




2. 🧹 界面极致净化 (UI Cleaner)


• [x] 🗑️ 隐藏杂项:可隐藏 Grok、Premium 订阅、已认证组织、探索、书签、招聘广告等无关干扰。


• [x] 🚫 隐藏右侧栏:彻底隐藏右侧的“推荐关注”和“趋势”栏,专注于推文内容。


• [x] 🛡️ 隐藏广告:自动拦截推文流中的推广内容。




3. 🖥️ 宽屏与布局 (Layout & Design)


• [x] ⬅️ 靠左对齐:可选开启“宽屏模式”,将左侧菜单贴边,不仅美观,更能利用宽屏空间。


• [x] 📏 自定义宽度:随心调节推文区域的宽度(支持 600px - 1200px 自由调整),大屏浏览体验更爽。




4. 🛡️ 安全屏蔽器 (Safe Blocker)


• [x] 🔒 纯本地运行:所有屏蔽逻辑完全在本地运行,不消耗 API 配额,安全防封。


• [x] 🧠 智能隐藏转推:搭载智能识别算法,彻底隐藏个人主页的转推和社交动态,同时完美保留置顶推文


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


🇺🇸 English Description

This is a performance-optimized userscript for X (Twitter) that combines UI Cleaning, Widescreen Layout, Media Downloading, and Keyword Blocking.

V9.3 Update: Added "Custom Filename" feature! Now you can define how downloaded files are named.

✨ Key Features

1. Media Downloader


• [x] 📥 Integrated UI: The download button acts natively in the tweet action bar (next to the Share button).


• [x] 🎨 Custom Filename: (New!) Fully customizable filename patterns (e.g., Date_User_ID).


• [x] 📹 Stable Core: Uses a proven API configuration to reliably fetch 1080P/4K videos and GIFs without errors.


• [x] ⚡ Streaming Download: Uses the browser's native download API for maximum speed and low memory usage.


• [x] 📦 Batch ZIP: Automatically zips multiple images.




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] 🧠 Smart Retweet Hiding: Cleans up user profiles by hiding Retweets/Likes while smartly keeping 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) (核心 API 参数参考 & 文件名逻辑 / API Logic & Filename Reference)


    🔗 Link to Script

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


    🔗 Link to Script

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


    🔗 Link to Script