UserScript For Unfinished Maps
UserScript For Unfinished Maps
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:
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:
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: UserScript For Unfinished Maps
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.
If you could send me the code for that I'd probably add it.
Re: UserScript For Unfinished Maps
I would say the code is there :p
https://monkeyguts.com/codepages/529.user.js
https://monkeyguts.com/codepages/529.user.js
- Soreu
- Posts: 1371
- Joined: Fri Aug 22, 2014 2:47 pm
- Location: Poland
- Player profile: http://ddnet.tw/players/Soreu
- Mapper profile: http://ddnet.tw/mappers/Soreu
- Clan: GSP
Re: UserScript For Unfinished Maps
or without downloading - there:
https://monkeyguts.com/code.php?nav=code&id=529
https://monkeyguts.com/code.php?nav=code&id=529
„Vince te ipsum” :3 | GSP Founder Honorary iMTGmember Graphic-guy | Website & Forum Team Leader (Ex) [ToP] Leader (Dead) Last truly active: Sun Aug 28, 2016 11:13 pm - having great DDNet in both memory and heart
Re: UserScript For Unfinished Maps
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 ?
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 ?
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: UserScript For Unfinished Maps
https://github.com/def-/ddnet-scripts/b ... players.py
Default sort is just the same order as in the ingame votes: https://github.com/def-/ddnet-scripts/b ... ovice/maps
Default sort is just the same order as in the ingame votes: https://github.com/def-/ddnet-scripts/b ... ovice/maps
Re: UserScript For Unfinished Maps
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)
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)
- Soreu
- Posts: 1371
- Joined: Fri Aug 22, 2014 2:47 pm
- Location: Poland
- Player profile: http://ddnet.tw/players/Soreu
- Mapper profile: http://ddnet.tw/mappers/Soreu
- Clan: GSP
Re: UserScript For Unfinished Maps
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
„Vince te ipsum” :3 | GSP Founder Honorary iMTGmember Graphic-guy | Website & Forum Team Leader (Ex) [ToP] Leader (Dead) Last truly active: Sun Aug 28, 2016 11:13 pm - having great DDNet in both memory and heart
Who is online
Users browsing this forum: Semrush [Bot] and 0 guests