xHamster Ultimate Enhancer

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

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
pignextdoor
Daily installs
3
Total installs
6
Ratings
0 0 0
Version
1.2
Created
2026-01-10
Updated
2026-01-10
Size
13.2 KB
License
MIT
Applies to

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.