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.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
primetime43
1日のインストール数
0
累計インストール数
0
評価
0 0 0
バージョン
1.0
作成日
2026/02/24
更新日
2026/02/24
大きさ
23.6KB
ライセンス
MIT
対象サイト
すべてのサイト

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