Sorts youtube playlist by duration
当前为
https://github.com/L0garithmic/ytsort
Never hand-sort a playlist again. This userscript keeps YouTube playlist management sane by forcing YouTube to sort playlist items by video duration. It was a slog to get here, but the end result is a battle-tested script that survives YouTube's ever-shifting UI and lazy-loading antics. Chrome is the only browser confirmed to work right now. ⚙️
extension/yt.js file from this repository and copy its contents.chrome://extensions/.extension folder from this repository.Shortest First or Longest First.Sort and let the script do the painful part:
yt.js.Pull requests fixing edge cases or adding cross-browser support are very welcome. If you encounter a breakage caused by a YouTube change, please describe the playlist size, layout, and steps to reproduce it.
Released under the GPL-2.0-only license. See the script header for details.