Page 1 of 1

UserScript For Unfinished Maps

Posted: Thu Oct 09, 2014 6:53 am
by Teeson
Hi guys!

I just developed a little userscript to change the display of unfinished maps on ddnet.tw
This script allows to order maps by alphabetical order (from the left to the right) and adds the number of unfinished maps between parentheses.
If you want to use it, you can install it from this site.

Here is a preview:
Image

Re: UserScript For Unfinished Maps

Posted: Thu Oct 09, 2014 10:34 am
by deen
That's cool. I think it would make more sense to have this on the site for everyone. Maybe we could have a selection between a few ways to sort (all in javascript): Default sort, Alphabetically, by stars/points.

If you could send me the code for that I'd probably add it.

Re: UserScript For Unfinished Maps

Posted: Thu Oct 09, 2014 6:01 pm
by Index
I would say the code is there :p
https://monkeyguts.com/codepages/529.user.js

Re: UserScript For Unfinished Maps

Posted: Thu Oct 09, 2014 11:48 pm
by Soreu
or without downloading - there:
https://monkeyguts.com/code.php?nav=code&id=529

Re: UserScript For Unfinished Maps

Posted: Sun Oct 12, 2014 4:13 am
by Teeson
Hello deen!

I like your proposition but the problem is there is not enough information in the current page to do something like that in javascript.
The easiest way to contribute would be to share the source code of the website or at least of this page.

What do you call the default sort ? Is it the creation date of the map ?

Re: UserScript For Unfinished Maps

Posted: Sun Oct 12, 2014 10:46 am
by deen

Re: UserScript For Unfinished Maps

Posted: Mon Oct 13, 2014 2:38 am
by Teeson
Woh ! What a surprise !
I didn't find any information about this github repository.

I'm not familiar with git and I don't like python, but I will try to do something.
In any case I'm glad to see that the source code of the website is open :) (ugly smiley)

Re: UserScript For Unfinished Maps

Posted: Mon Mar 16, 2015 3:44 pm
by Soreu
ye ye, topic is old, but what about implementing this code w/o other sorting options? i'd say it still would be way more clear than current one