🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Greasy Fork is available in English.

Table sort columns with ctrl+alt+click

Adds column sorting to any table on any website. Trigger sorting with Ctrl+Alt+Left-Click.

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

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

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

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

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

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

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

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

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

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

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

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

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

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

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

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

作者
jjenkx
日安装量
0
总安装量
2
评分
0 0 0
版本
1.0
创建于
2025-11-24
更新于
2025-11-24
大小
5.0 KB
许可证
MIT
适用于
所有网站

This userscript automatically adds sortable columns to any HTML table on any website, without modifying the site itself. It works universally because it doesn’t depend on site-specific selectors or layouts.

How you use it

• Hold Ctrl + Alt
• Left-click any table cell in any table
• The table instantly sorts by that column

Sorting behavior

• First click = descending
• Second click = ascending
• Third click = descending again (toggles)
• Sorting can detect and compare:

Numbers (with commas handled)

Dates (mm/dd/yyyy or yyyy-mm-dd)

File/size formats (MB, GiB, etc.)

Plain text

Sorting respects:
• colSpan
• Thead/tbody if present
• Optional inclusion of the top row as sortable

When to use it

Anywhere you encounter a table with no built-in sorting:

• Download lists
• Directory listings
• Documentation tables
• Inventory lists
• Admin panels
• Data tables in older web tools
• Any unformatted HTML table

You get instant power-user level sorting without relying on website support.