Created
December 30, 2023 15:02
-
-
Save joemaffei/1e49fe20108ce31fcf340d9131e15576 to your computer and use it in GitHub Desktop.
Sort Obsidian plugins by downloads
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.plugins-container').replaceChildren(...Array.from($('.plugins-container').children).sort((a,b)=>parseInt(b.children[2].textContent.replace(/\D/g,''))-parseInt(a.children[2].textContent.replace(/\D/g,'')))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment