[Deprecated] Kanka Gallery Alphabetical Sort

Sorts folders and images alphabetically in the Kanka Gallery, keeping folders first.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Salvatos
日安装量
0
总安装量
8
评分
0 0 0
版本
4
创建于
2023-04-03
更新于
2025-07-24
大小
2.7 KB
许可证
MIT
适用于

⚠ This script is deprecated and will no longer be updated since similar features have now been implemented in Kanka.

Sorts folders and images alphabetically in the Kanka Gallery, keeping folders first. (Normally, they are sorted by most recent change.)

Caveat: The Gallery displays 25 items at a time, and does not fetch its results from the database alphabetically, so this is a lot less convenient with larger folders (or numerous search results). When clicking "Load more", the new batch of results also need to be sorted by the script. Instead of merging them into the full set of results, the new batch is sorted separately and appended at the end of the previous batch, keeping the new results separate so you don't have to look through the whole set every time it changes. It also automatically scrolls you back up to the last result of the previous batch.

If there is demand to add something like a "Re-sort all" button, that could probably be done.


If my scripts are making your life easier, tips go a long way to help me make more. You can support me via Ko-fi (no account needed):

Support me on Ko-fi.com