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

Greasy fork 爱吃馍镜像

YouTubeSortByDuration

Supercharges your playlist management by sorting videos by duration.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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

公众号二维码

扫码关注【爱吃馍】

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

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

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

公众号二维码

扫码关注【爱吃馍】

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

Author
kastru
Daily installs
0
Total installs
33
Ratings
0 0 0
Version
4.2
Created
2025-03-17
Updated
2025-07-04
Size
30.9 KB
License
GPL-2.0-only
Applies to

YouTubeSortByDuration is the ultimate YouTube userscript that supercharges your playlist management by sorting videos by duration. Choose fastest-to-slowest or vice versa and watch your playlist get optimized instantly! ⚡


✨ Key Features

  • 🎬 Sort playlists by video length: shortest-to-longest or longest-to-shortest
  • 🛠️ Blazing-fast reordering engine with adaptive delays
  • 🎨 Sleek, modern UI with intuitive controls and live status updates
  • 🌐 Broad compatibility: Works on all YouTube playlist types and browsers
  • 🚀 Lightweight & open-source: Zero dependencies, GPL-2.0 licensed

📦 Installation

  1. Install a userscript manager like ViolentMonkey or Tampermonkey.
  2. Click the "Install" button on this page.
  3. Open a YouTube playlist, and the sort controls will appear automatically.

🚀 Usage

  1. Open a YouTube playlist.
  2. Select a sort order (by Longest or by Shortest).
  3. Click Sort Videos to begin.

❤️ Contributing

Contributions, bug reports, and feature requests are welcome! Please visit the GitHub repository to contribute.


⚠️ Known Issues

  • Tampermonkey 5.1.0 & Chrome Canary 124: If you encounter issues, set Inject Mode to Instant and enable synchronous mutation events.
  • Large Playlists (500+ videos): Sorting may take longer due to adaptive delays for reliability.