面向 X Android(com.twitter.android)的 LSPosed/Xposed 增强模块
An LSPosed/Xposed enhancement module for X Android
你的 Star 是我持续适配和更新 XTQ 的最大动力。每一颗 Star 都是对我的鼓励!
Your Star is my biggest motivation to keep XTQ compatible and up to date. Every Star is meaningful encouragement!
当前公开版本:12.41.0-prod.01(versionCode 74)。
Current public release: 12.41.0-prod.01 (versionCode 74).
主要适配版本:X 12.41.0-prod.01(312410001)。
Primary supported X version: 12.41.0-prod.01 (312410001).
- 适配 X 12.41.0-prod.01,更新浏览历史、自动翻译、原图保存与视频/GIF 下载、最高画质、停止自动连播、广告过滤及自动刷新控制等既有功能。
Updates existing features for X 12.41.0-prod.01, including browsing history, automatic translation, original-image saving and video/GIF downloads, highest-quality playback, stop-auto-advance, ad filtering, and automatic refresh control. - 新增默认关闭的“跟随 X 深色模式”开关,让 XTQ 设置页与浏览历史跟随 X 当前外观;即使 X 与系统外观不同也跟随 X。关闭时仍保留原有跟随系统行为。
Adds an off-by-default “Follow X light/dark theme” switch for the XTQ Settings and Browsing history screens. It follows the active appearance selected in X even when it differs from the system; when off, the existing follow-system behavior remains.
- 浏览历史:在 X 内注入的侧边栏浏览历史,仅记录用户明确打开的帖子、视频或 GIF;不会记录滚动曝光、自动播放或仅查看图片。历史仅保留在本机并保持私密,支持全文搜索、重新打开记录和清空历史,不上传任何数据;列表按可见内容加载,减少打开等待。旧版截断记录需再次浏览后补全正文。
Browsing history: Injected inside X's sidebar, local browsing history records only posts, videos, or GIFs that the user explicitly opens; it does not record scroll exposure, autoplay, or image-only viewing. History stays local and private, supports full-text search, reopening entries and clearing history, and uploads no data. Visible rows are loaded as needed to reduce opening delays. Revisit older truncated entries to fill in their full text. - 链接净化:净化剪贴板、分享和应用内跳转中的 X 链接跟踪参数,并支持选择或配置分享域名。
Link cleanup: Cleans tracking parameters from X links copied, shared, or opened in the app, with selectable and configurable share domains. - 原图与媒体下载:图片查看页提供“保存原图”和多图“全部保存”,图片按钮与视频/GIF 下载接管分别控制;XTQ 管理的图片保存使用自定义目录和命名,默认配置保留 X 原生图片保存行为。视频与 GIF 下载优先选择非 HLS 最高码率直链;开启视频接管时,为原生隐藏下载项且有有效下载文件的视频补出入口。
Original images and media downloads: Adds “Save original” and multi-image “Save all” actions, with separate controls for image buttons and video/GIF download takeover. Images saved through XTQ use its custom folders and filenames; default settings retain X's native image saving. Video and GIF downloads prefer the highest-bitrate non-HLS direct variant. With takeover enabled, eligible videos with a supported file gain a download action even when the native menu hides it. - 原生翻译增强:复用 X 原生翻译自动处理符合条件的短帖和回复,在自动翻译结果中保留原文;目标语言默认跟随 X,也可明确选择固定语言。空正文会跳过,待处理内容会及时刷新,手动翻译路径保持不变。
Native translation enhancements: Reuses X's native translation flow to automatically translate eligible short posts and replies while preserving the original text; the target follows X by default or can be set explicitly. Empty bodies are skipped and pending work is refreshed promptly; manual translation remains unchanged. - 译文复用:在同次 X 运行中,复用同帖、同正文、同目标语言已完成的自动译文;已完成结果可直接用于重建后的页面。正文或目标语言变化时分别处理,手动显示原文仍然有效。
Translation reuse: During the same X process, completed automatic translations can be reused for the same post, text and target language after page recreation. Changed text or target languages are handled separately, and manual original-text display remains available. - 内容过滤:隐藏推广内容、推广用户、视频轮播、资料推荐和横幅;广告帖子过滤覆盖帖子详情中的嵌套模块。
Content filtering: Hides promoted content, promoted users, video carousels, profile recommendations, and banners; promoted-post filtering also covers nested modules in post details. - 视频播放控制:可选关闭视频播放结束后自动进入下一个视频;该选项与帖子内横向轮播独立,仍可手动切换,默认关闭。
Video playback control: Optionally stops automatic movement to the next video after playback; this is independent of the in-post horizontal carousel, and videos remain switchable manually. It is off by default. - 媒体显示选项:提供敏感媒体显示和高质量视频选项;高清播放优先选择可用的高码率直连源,不改变 X 画质菜单中的“自动”选项文字。
Media display options: Provides sensitive-media display and high-quality video options. High-quality playback prefers an available higher-bitrate direct source without changing the Auto label in the X quality menu. - 设置与反馈:设置按类别分组并支持展开或收起,调整会自动保存并显示保存反馈;浏览历史入口随 X 语言本地化。
Settings and feedback: Groups settings into collapsible categories, saves changes automatically with save feedback, and localizes the browsing-history entry to X's language. - 界面主题:可选让 XTQ 设置页与浏览历史跟随 X 当前深浅色外观,即使 X 与系统外观不同也跟随 X;默认关闭,关闭后继续跟随系统。
Theme appearance: XTQ Settings and browsing history can optionally follow the active light/dark appearance selected in X, even when it differs from the system. Off by default; when off, they continue to follow the system.
首次使用主题同步时,请打开 XTQ 设置,再返回 X。
To sync the theme for the first time, open XTQ Settings and then return to X.
-
桌面图标:可选隐藏 XTQ 的系统桌面图标;仍可从 LSPosed 模块管理中打开 XTQ 设置,默认显示。
Launcher icon: Optionally hides the XTQ icon from the system launcher; XTQ settings remain available from the LSPosed module manager, and the icon is shown by default. -
动态适配与兼容性回退:功能开关、媒体字段、帖子和作者读取支持经过校验的动态识别与缓存回退;不匹配时保留 X 原生行为。此能力不代表所有功能或未来 X 版本均能自动兼容。
Dynamic adaptation and fallback: Validated discovery and cached fallback for feature switches, media fields, and post/author readers; unmatched targets preserve X's native behavior. This does not guarantee automatic compatibility for every feature or future X version. -
配置迁移:支持 JSON 设置导入与导出,不导出浏览历史。
Settings transfer: Imports and exports settings as JSON without browsing history. -
下载命名:提供账号名、昵称、用户 ID、帖子 ID 及时间戳等命名格式,也支持“账号名_时间戳”和自定义模板;单媒体不加多余序号,多媒体保留序号。
Download filenames: Offers naming formats using usernames, display names, user IDs, post IDs, or timestamps, including username_timestamp and custom templates; single-media files omit an unnecessary sequence suffix and multiple files retain their sequence numbers. -
自动刷新控制:可保留重启或返回首页时的缓存内容,手动刷新和无缓存加载保持可用,默认关闭。
Automatic refresh control: Can retain cached Home content across restarts and returns; manual refresh and loading without a cache remain available. Off by default. -
首页直播空间栏:可选隐藏首页直播与 Spaces 栏,空间功能和其他入口保留,默认关闭。
Home live and Spaces bar: Optionally hides the Home bar while preserving Spaces and other entry points. Off by default. -
Re:X 共存:可选“优先使用 Re:X”,默认关闭;让出指定重叠功能并隐藏对应设置,原设置值仍保留。浏览历史、翻译、XTQ 图片保存、最高画质和停止自动连播仍由 XTQ 控制。Re:X 视频下载的目录与命名由 Re:X 配置;此选项不会自动启用 Re:X 或修改其配置。
Re:X coexistence: Optional “Prefer Re:X” mode is off by default. It yields selected overlapping features and hides their controls while preserving saved values. Browsing history, translation, XTQ image saving, highest-quality playback and stop-auto-advance remain under XTQ control. Re:X manages its own video download folders and filenames; this option does not enable Re:X or modify its configuration. -
版本提醒:XTQ 与 X 版本不匹配时在现有版本卡片显示红色加粗提示,不禁用功能。
Version warning: Displays a bold red warning in the version card when XTQ and X versions differ, without disabling features. -
社区与更新:设置内提供项目主页、交流群和发布频道入口。
Community and updates: Settings link to the project, community group and release channel. -
问题反馈:诊断信息包含模块加载状态、卡顿、翻译和下载阶段的耗时及性能统计,帮助定位异常。
Problem reports: Diagnostics include module loading status, performance statistics, and translation and download-stage timings to help locate issues. -
模块界面语言与版本:可选择跟随系统、简体中文或 English;设置页同时显示 XTQ 与 X 版本,语言选择会保存。
App language and version: Choose system default, Simplified Chinese or English; Settings shows both XTQ and X versions and retains your language choice. -
排查文件分享:将完整排查信息作为文本文件附件分享,并标注当前安装版本、导出时间、日志会话与记录完整性,准备时显示进度提示。
Troubleshooting files: Shares a complete text-file attachment labeled with installed versions, export time, log sessions and completeness, with feedback while preparing the file.
- 本版主要适配 X 12.41.0-prod.01;其他版本的兼容记录请参阅对应历史 Release。
This release targets X 12.41.0-prod.01; see the corresponding past releases for other-version compatibility records.
每次 X 更新后,我都需要分析变化、构建候选并进行实机验证。
After each X update, I analyze changes, build candidates, and test on real devices.
你的 Star 是我持续适配和更新 XTQ 的最大动力。每一颗 Star 都是对我的鼓励!
Your Star is my biggest motivation to keep XTQ compatible and up to date. Every Star is meaningful encouragement!
https://github.com/Xposed-Modules-Repo/com.tianqianguai.xtq