☰

xHamster Ultimate Enhancer

Enhances xHamster: hides watched videos, auto large player, advanced filters, mark viewed, scroll to top

您需要先安裝使用者腳本管理器擴展,如 Tampermonkey、Greasemonkey 或 Violentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 Tampermonkey 或 Violentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 Tampermonkey或 Violentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 Tampermonkey或 Userscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
dweebzxxx
今日安裝
0
安裝總數
844
評價
1 1 0
版本
1.2
建立日期
2026-01-10
更新日期
2026-01-10
尺寸
13.2 KB
授權條款
MIT
腳本執行於

xHamster Ultimate Enhancer

A powerful, lightweight userscript that significantly improves your xHamster browsing experience.

Main Features

  • Hide Watched Videos — Automatically hides thumbnails of videos you've already watched across recommendations, search results, categories, home feed, and more. Includes smart layout reflow to close empty gaps in the grid.
  • Auto Large Player — One-click toggle to automatically switch to large/wide player mode on video pages (preference saved).
  • Dynamic Player Height — Large mode player resizes to fit your screen perfectly on window resize.
  • Advanced Video Filters — Filter thumbnails by:
    • HD only (720p+)
    • View count range
    • Duration range (in minutes)
    • Rating percentage range
    • Text search (must contain phrases)
    • Whitelist (only show titles with these phrases)
    • Blacklist (hide titles containing these phrases)
    • Title sanitization/replacement (e.g., change words like "boyfriend" → "stepson")
  • Mark All Viewed — Button to instantly mark every video on the current page as watched.
  • Scroll to Top — Quick button to smoothly scroll back to the top.
  • Disable Filters Toggle — Temporarily turn off all filtering/hiding (saved state).
  • Floating Control Panel — Hoverable panel in bottom-right corner with all buttons and a full filters configuration form.
  • Favorites Exclusions — Watched hiding is automatically disabled on your /my/favorites/videos page (so you can see your saved videos clearly).
  • Dynamic Support — Works with infinite scroll and dynamically loaded content.

Recommendations

  • Adblocker: Use uBlock Origin (or uBlock Origin Lite) for best results. It handles most banners, pop-ups, and trackers at the network level. The script no longer includes general ad hiding to avoid duplication.
  • Recommended Manager: Install with Violentmonkey for best compatibility.

Notes

  • All settings are saved in your browser's localStorage (no account needed).
  • Changes to filters require a page reload to apply.
  • Excludes watched hiding on your personal favorites page for usability.
  • If you notice any site layout issues, disable filters temporarily via the panel.

Enjoy a cleaner, more focused xHamster experience! Feedback & suggestions welcome.