Repository navigation
0.3.3
0.3.3
新增
- 新增「屏蔽包含关键词的推文」开关,默认关闭。开启后,即使「仅过滤回复」开启,现有词库也可匹配普通推文的正文和链接,白名单仍然生效。
- 记录页新增账号与规则搜索、规则/推广/转帖筛选、日期分组,以及完整规则详情。
优化
- 历史记录保存和显示上限从 200 条提高至 1000 条,保留已有记录,达到上限后自动淘汰最早的记录。
- 刷新记录时保留已展开的详情;没有搜索结果时可一键重置搜索和筛选。
- 减少关键词过滤中的文本清洗临时对象,限制超长文本的处理范围,并复用云词库解析结果。
使用提示
- 更新后请彻底关闭并重新打开 X,使新的过滤逻辑生效。
- 如需将词库应用到普通推文,请在设置中开启「屏蔽包含关键词的推文」。
- 记录页仅对规则命中的账号提供白名单操作;推广和转帖由各自的开关控制。
验证
- 118 项单元测试、10 项手机端测试、APK 构建和 Lint 检查通过。
- 已验证与 0.3.2 签名一致,并在 PLR110 手机上成功覆盖安装 0.3.3。
0.3.3
Added
- Added a "Block keyword tweets" switch, off by default. When enabled, existing keyword rules also match regular tweet text and links, even with "Replies only" enabled. The whitelist still applies.
- Added account and rule search, rule/promoted/repost filters, date grouping, and full rule details to the history page.
Improved
- Increased history storage and display capacity from 200 to 1,000 records. Existing records are retained, and the oldest records are removed when the limit is reached.
- Keep expanded details open during refresh and allow resetting search and filters from the no-results screen.
- Reduce temporary allocations during keyword text cleanup, bound processing of long text, and reuse parsed cloud rules.
After updating
- Fully close and reopen X to load the updated filtering logic.
- Enable "Block keyword tweets" in settings to apply keyword rules to regular tweets.
- Whitelist actions are available for rule matches. Promoted posts and reposts are controlled by their respective switches.
Verification
- 118 unit tests, 10 on-device tests, APK build and Lint checks passed.
- Confirmed the signing certificate matches 0.3.2 and successfully installed 0.3.3 over the existing app on a PLR110 phone.
SHA-256 (XBlocker-0.3.3.apk): 76aa83befb9894d09c760207733b94e0a256653750228dea79bcabf0f18ad8bd