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.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey, Greasemonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Userscripts.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een gebruikersscriptbeheerder nodig.

(Ik heb al een user script manager, laat me het downloaden!)

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

(Ik heb al een beheerder - laat me doorgaan met de installatie!)

Maker
primetime43
Dagelijks aantal installaties
0
Totaal aantal installaties
0
Beoordelingen
0 0 0
Versie
1.0
Gemaakt op
24-02-2026
Bijgewerkt op
24-02-2026
Grootte
23,6 KB
Licentie
MIT
Wordt toegepast op
Alle websites

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