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.

Na nainštalovanie skriptu si budete musieť nainštalovať rozšírenie, ako napríklad Tampermonkey, Greasemonkey alebo Violentmonkey.

Na inštaláciu tohto skriptu je potrebné nainštalovať rozšírenie, ako napríklad Tampermonkey.

Na nainštalovanie skriptu si budete musieť nainštalovať rozšírenie, ako napríklad Tampermonkey, % alebo Violentmonkey.

Na nainštalovanie skriptu si budete musieť nainštalovať rozšírenie, ako napríklad Tampermonkey alebo Userscripts.

Na inštaláciu tohto skriptu je potrebné nainštalovať rozšírenie, ako napríklad Tampermonkey.

Na inštaláciu tohto skriptu je potrebné nainštalovať rozšírenie správcu používateľských skriptov.

(Už mám správcu používateľských skriptov, nechajte ma ho nainštalovať!)

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie, ako napríklad Stylus.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie, ako napríklad Stylus.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie, ako napríklad Stylus.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie správcu používateľských štýlov.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie správcu používateľských štýlov.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie správcu používateľských štýlov.

(Už mám správcu používateľských štýlov, nechajte ma ho nainštalovať!)

Autor
primetime43
Denne inštalácií
0
Celkový počet inštalácií
0
Hodnotenie
0 0 0
Verzia
1.0
Vytvorené
24.02.2026
Aktualizované
24.02.2026
Veľkosť
23,6 KB
Licencia
MIT
Spustiť na
Všetkých stránkach

HTTP Index Sorter

Enhances pre-formatted (<pre>) HTTP directory listings with sorting, file type icons, and date grouping. Works with Nginx autoindex, lighttpd, seedbox HTTP indexes (ruTorrent, etc.), and other servers that output plain-text directory listings. Does not work with table-based listings (e.g. Apache with FancyIndexing).

Features

  • Sort by Name, Date, or Size — click the toolbar buttons to sort ascending/descending
  • File Type Icons — entries are prefixed with emoji icons based on file extension (video, audio, archive, image, etc.)
  • Group by Date — toggle date grouping to visually separate entries by day (Today, Yesterday, Jan 15, 2024, etc.)
  • Per-Site Preferences — sort order and grouping settings are saved independently for each URL pattern
  • Item Count — displays the total number of files/folders in the toolbar
  • URL Pattern Settings — configure which sites the script activates on using glob patterns (e.g. https://example.com/files/*)

Getting Started

After installing, the script will not activate on any pages until you add your first URL pattern:

  1. Navigate to an HTTP directory listing page you want to enhance
  2. Click the Tampermonkey extension icon in your browser toolbar
  3. Find HTTP Index Sorter and click the Settings gear icon next to it
  4. Click "+ Add Current Page URL" to add the current page as a URL pattern
  5. The page will reload and the sorting toolbar will appear

You can also open settings from the gear icon in the toolbar on any active page to add, remove, or manage URL patterns manually.

Notes

  • The script uses @match *://*/* so it can run on any site you configure, but it only activates on pages that match your saved URL patterns and are detected as directory listings
  • Patterns use * as a wildcard (e.g. https://example.com/downloads/* matches all pages under /downloads/)
  • Works with date formats: 02-Jan-2024 12:34 and 2024-01-02 12:34