Skip to content

YouTube 頻道過濾器 | YouTube Channel Filter

Choose a tag to compare

@hubig21 hubig21 released this 12 May 01:37
· 7 commits to main since this release
7c35aaf

YouTube 頻道過濾器 v1.1.1 更新日誌

發布日期:2026-05-12
類型:🐛 Bug 修復 + 小型 UX 改善

此版本針對 v1.1.0 發布後收到的關鍵 bug 回饋進行修復,建議所有使用者升級。


🐛 修正的 Bug

Bug #1:上傳日期過濾邏輯反向 ⚠️

問題:在 v1.1.0 中,「Uploaded more than N days」選項的行為與描述相反——選擇「過濾 4 年以上的舊影片」時,反而隱藏了 4 年內的新影片。

修正:

  • 重寫 Filter.processOne() 內的上傳日期判斷邏輯,使行為與描述一致
  • UI 語義改寫為**「隱藏 ___ 的影片」**句式,避免「more than / within」的歧義
  • 新標籤:
    • 比設定值老的(舊片) / Older than (old videos) → 隱藏 4 年以上的舊片
    • 比設定值新的(新片) / Newer than (recent videos) → 隱藏最近 30 天的新片

感謝:JourneyOver(Greasyfork 使用者)詳細回報並提供交叉驗證


🎨 UX 改善

上傳日期新增「年」單位選項

問題:使用者要過濾「4 年以上」必須手動換算 4 × 365 = 1460 天,容易出錯

改善:

  • 上傳日期區塊新增單位下拉選單:天 / 年
  • 內部統一以毫秒計算,向後相容舊版資料(會自動推算單位)
  • 新範例:選「比設定值老的」+ 4 年 = 隱藏 4 年以上的舊影片

🔄 i18n 更新

新增 keys(中英對稱)

Key 中文 English
filter.date.hideOlder 比設定值老的(舊片) Older than (old videos)
filter.date.hideNewer 比設定值新的(新片) Newer than (recent videos)
filter.date.unit.day 天 days
filter.date.unit.year 年 years

移除(已不用)

  • filter.date.older / filter.date.newer / filter.date.day

對稱性:ZH/EN 各 285 keys 完全對稱、0 循環、0 缺失、0 未使用


📋 已知限制(將於 v1.1.2 修復)

以下使用者反饋已收錄,將於下個版本處理,目前還未在本版修復:

限制 來源 預計版本
搜尋結果頁的日期過濾仍不生效 JourneyOver v1.1.2
影片播放頁側欄推薦的日期過濾仍不生效 JourneyOver v1.1.2
片尾推薦影片完全不被過濾 作者自列 v1.1.2
頻道公告(文字貼文)無法過濾 作者自列 v1.1.2
合作頻道無快捷按鈕(合作影片無單一頻道,設計限制) 作者自列 文件說明
大量名單(1000+)變慢 作者自列 v1.2.0
三點選單風格快捷按鈕 JourneyOver v1.2.0
逐頁過濾範圍配置 Azazello v1.2.0

完整 issue 追蹤表已整理於專案文件中。


升級注意

建議手動刪除 v1.1.0 / v1.1.0-rc 舊版本後重新安裝 v1.1.1,以確保 Tampermonkey 正確載入新版。

升級後請至「⚙️ 設定 → 📅 上傳日期」區確認設定:

  • 舊資料的 days 欄位會自動轉換(365 的倍數會顯示為「年」)
  • 如果你原本是用 1461 來表示 4 年,會自動轉成「4 年」

連結


YouTube Channel Filter v1.1.1 Changelog

Release date: 2026-05-12
Type: 🐛 Bug fixes + minor UX improvements

This release addresses critical bug reports received after the v1.1.0 launch. All users are encouraged to upgrade.


🐛 Bug Fixes

Bug #1: Upload Date Filter Logic Inverted ⚠️

Issue: In v1.1.0, the "Uploaded more than N days" option behaved opposite to its description — choosing "filter videos older than 4 years" would instead hide videos newer than 4 years.

Fix:

  • Rewrote the upload-date check logic in Filter.processOne() so behavior matches the description
  • Renamed UI labels to the unambiguous "Hide ___ videos" phrasing instead of the confusing "more than / within"
  • New labels:
    • Older than (old videos) / 比設定值老的(舊片) → hides videos older than 4 years
    • Newer than (recent videos) / 比設定值新的(新片) → hides videos newer than 30 days

Thanks to: JourneyOver (Greasyfork user) for the detailed bug report and cross-verification


🎨 UX Improvements

Upload Date: New "Year" Unit Option

Issue: Users who wanted to filter "videos older than 4 years" had to manually calculate 4 × 365 = 1460 days, which was error-prone

Improvement:

  • Added a unit dropdown in the Upload Date section: Days / Years
  • Internally normalized to milliseconds, fully backward-compatible (legacy days values auto-derive their unit)
  • New example: choose "Older than" + 4 years = hide videos older than 4 years

🔄 i18n Updates

New keys (symmetric ZH/EN)

Key English 中文
filter.date.hideOlder Older than (old videos) 比設定值老的(舊片)
filter.date.hideNewer Newer than (recent videos) 比設定值新的(新片)
filter.date.unit.day days 天
filter.date.unit.year years 年

Removed (no longer used)

  • filter.date.older / filter.date.newer / filter.date.day

Symmetry: ZH/EN both have 285 keys, 0 circular references, 0 missing, 0 unused


📋 Known Limitations (to be fixed in v1.1.2)

The following user-reported issues have been logged but are not fixed in this release:

Limitation Source Target version
Upload-date filter still not applied on search results page JourneyOver v1.1.2
Upload-date filter still not applied on video sidebar recommendations JourneyOver v1.1.2
Endscreen recommendations are not filtered at all Self-reported v1.1.2
Channel announcements (text posts) cannot be filtered Self-reported v1.1.2
Collab videos have no quick-action buttons (collab cards lack a single channel — YouTube design limitation) Self-reported Doc note
Performance slowdown with large lists (1000+ entries) Self-reported v1.2.0
Three-dot menu style for quick actions JourneyOver v1.2.0
Per-page filter configuration matrix Azazello v1.2.0

A complete issue tracker is maintained in the project documentation.


Upgrade Notes

We recommend manually uninstalling v1.1.0 / v1.1.0-rc before installing v1.1.1 to ensure Tampermonkey loads the new version correctly.

After upgrading, please visit "⚙️ Settings → 📅 Upload date" to verify your settings:

  • Legacy days values are automatically converted (multiples of 365 display as "Years")
  • If you previously used 1461 to mean 4 years, it will auto-convert to "4 years"

Links