Erome Enhancer (alpha)

Enhanced Erome browsing: Sort albums by views/videos/duration, filter by content type & duration, infinite scroll with auto-load, like counts display, hide watched albums, duration badges, deleted album display, and more!

코드가 업데이트된 버전 목록입니다. 모든 버전 보기

  • v3.2 2025-11-14

    Version 3.2 — Code Optimization Release

    🔧 Internal Improvements (No Visual Changes)

    Code Refactoring

    • Reduced total line count from ~1550 → ~950 lines (38% reduction)
    • Consolidated all CSS into a single injection at page load
    • Added a centralized SELECTORS object for all DOM queries
    • Unified extraction logic using a new extractMetric() wrapper
    • Merged sortAlbums() + resetAlbums()sortOrResetAlbums()
    • Merged markAsViewed() + markAsDeleted()createOverlay()
    • Simplified button creation via array-based generation loop
    • Minified modal HTML into a single-line string
    • Added optional chaining (?.) throughout for safer null checks
    • Replaced verbose conditionals with ternary operators where appropriate

    Performance Enhancements

    • CSS now injected once, instead of inline on every element
    • Reduced DOM manipulation overhead
    • More efficient selector usage
    • Improved memory management

    Code Organization

    • Grouped functions by purpose
    • Removed duplicated logic
    • Clearer and more maintainable function structure
    • Cleaner and more consistent function signatures
  • v3.1.1 2025-11-14
  • v3.1 2025-11-14
  • v3.0 2025-11-11