你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/561953-x-twitter-%E7%BA%AF%E5%87%80%E6%B5%8F%E8%A7%88-%E4%B8%80%E9%94%AE%E4%B8%8B%E8%BD%BD,源站連結 點此以跳轉。
无损性能!在时间线实现完美的“纯净浏览”体验(去广告、去侧边栏、宽屏),同时提供邦邦硬的“媒体一键下载”功能(视频/图片/GIF)。完美适配手机端,解决下载卡顿问题。
X/Twitter Pure Experience & Downloader
👨💻 作者的话 / Foreword
这个脚本是作者(代码小白)在苦恼于现有 X/Twitter 脚本功能过于单一后,通过整合各位前辈的优秀代码,结合 AI (Gemini) 辅助,并与朋友反复讨论优化后的最终版本。
V9.2.1 特别说明: 此版本回归了最稳定的下载内核,并引入了智能判断逻辑,完美解决了“隐藏转推时误伤置顶”的痛点。
这是一个 性能极致优化 的 X (Twitter) 增强脚本,集成了界面净化、宽屏布局、媒体下载和关键词屏蔽四大功能。
与市面上其他脚本不同,本脚本采用了 🛡️ 零后台请求 和 ⚡ 增量 DOM 检测 技术,绝不会 在后台私自请求推特 API(除下载时必须的请求外),彻底杜绝因脚本请求过多导致的账号限流或封禁风险。
1. 📺 媒体一键下载 (Media Downloader)
• [x] 📥 原生集成:下载按钮完美融入推文底部的操作栏(位于分享按钮右侧),不突兀。
• [x] 📹 稳定内核:V9.2 回归了经典的 API 配置,完美解决 HTTP 400 报错,支持下载 1080P/4K 高清视频。
• [x] ⚡ 流式下载:优先使用浏览器原生下载接口,速度极快且不占用内存(需在油猴设置中允许下载权限)。
• [x] 📦 批量打包:多图推文自动打包为 ZIP 文件,文件名智能包含博主 ID 和日期,方便整理。
2. 🧹 界面极致净化 (UI Cleaner)
• [x] 🗑️ 隐藏杂项:可隐藏 Grok、Premium 订阅、已认证组织、探索、书签、招聘广告等无关干扰。
• [x] 🚫 隐藏右侧栏:彻底隐藏右侧的“推荐关注”和“趋势”栏,专注于推文内容。
• [x] 🛡️ 隐藏广告:自动拦截推文流中的推广内容。
3. 🖥️ 宽屏与布局 (Layout & Design)
• [x] ⬅️ 靠左对齐:可选开启“宽屏模式”,将左侧菜单贴边,不仅美观,更能利用宽屏空间。
• [x] 📏 自定义宽度:随心调节推文区域的宽度(支持 600px - 1200px 自由调整),大屏浏览体验更爽。
4. 🛡️ 安全屏蔽器 (Safe Blocker)
• [x] 🔒 纯本地运行:所有屏蔽逻辑完全在本地运行,不消耗 API 配额,安全防封。
• [x] 🧠 智能隐藏转推:V9.2 搭载了智能识别算法,能彻底隐藏个人主页的转推和社交动态,同时完美保留置顶推文。
• [x] 🚫 关键词屏蔽:支持正则匹配,可屏蔽包含特定关键词的推文或用户(通过页面右下角悬浮盾牌图标设置)。
This is a performance-optimized userscript for X (Twitter) that combines UI Cleaning, Widescreen Layout, Media Downloading, and Keyword Blocking.
V9.2.1 Update: Reverted to the stable download kernel to fix HTTP 400 errors, and introduced "Smart Hiding" to preserve Pinned Tweets.
1. Media Downloader
• [x] 📥 Integrated UI: The download button acts natively in the tweet action bar (next to the Share button).
• [x] 📹 Stable Core: V9.2 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 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] 🧠 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.
本脚本的开发离不开开源社区的贡#,特别感谢以下优秀项目提供的灵感与核心逻辑:
This script stands on the shoulders of giants. Special thanks to the original authors of these projects: