HTTP Index Sorter

Enhances pre-formatted HTTP directory listings (Nginx, lighttpd, seedbox indexes, etc.) with sortable columns (name, date, size), file type icons, date grouping, and per-site preferences. Configure which sites to activate on via URL patterns.

Dette er versioner af dette script, hvor koden er blevet opdateret. Vis alle versioner.

  • v1.3 17.04.2026
  • v1.2 08.04.2026
  • v1.1 08.04.2026

    v1.1

    Bug Fixes

    • Fixed parseSize not recognizing plain byte counts without a unit suffix (e.g. 1234)
    • Fixed globToRegex not escaping ? in URLs, causing query strings to break pattern matching
    • Fixed fragile remove handler in settings panel that relied on a potentially stale array index
    • Hoisted duplicated months map to a single shared constant

    Performance

    • Cached loadUrls() and getSortKey() results to avoid redundant JSON parsing from GM storage during sort operations
    • Added @run-at document-idle so the script defers execution until after DOM is ready, avoiding unnecessary work on non-matching pages

    New Features

    • Copy URL button — a clipboard icon appears next to each file link on hover; click to copy the full URL
    • Section actions on date headers — when grouping is enabled, each date section shows:
    • Open folders — opens all folders in that section in new tabs
    • Copy URLs — copies all URLs in that section to the clipboard (one per line)
  • v1.0 24.02.2026