Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Userscripts Top Scripts
Adds a "Most Popular Scripts" box to the userscripts.org front page -- updated and working again.
This script displays the most popular scripts on userscripts.org in a box on the right-hand side of the main page. You can choose between showing the most popular scripts of all time, the most popular in the last week, or yesterday's most popular. You can display between 10 and 50 results, depending on your preference. The data are updated every 24 hours.
The way this works is that I have a Python script that runs daily on my web host and caches the download numbers for every script on userscripts.org (by parsing the script list from the front pages, it doesn't individually crawl each script's page). It keeps track of these numbers for each day, which allows me to determine how many times a script has been downloaded in a day, week, month, or whatever. After updating its data from userscripts.org, the script generates the stats table for the day.
The greasemonkey script also only downloads the statistics once a day and caches them on the user's local machine.
Update Nov. 28:
- Adjusted to deal with the new front-page layout. Now replaces the "Recent Scripts" list on the right. The visual style totally doesn't match with the new layout, this will need to be changed in the future. Also, the "Recent Scripts" box is actually a useful feature, so suggestions on a better place to put the top scripts box are welcome.
- I have blacklisted all of those annoying "scrap all" scripts
- Sadly, while trying to fix some errors getting things running on my new host, I accidentally wiped the cached script data, so it'll be another week before all of the view are working properly. Sorry for the inconvenience.
Update Apr. 18: Updated to use your last selected display (new, yesterday, week, total) by default.
Update Apr. 15: Added tracking of new popular scripts. (The download numbers will show the most popular new scripts by downloads in the last week, though as of right now this has only been tracked for one day, so the numbers will increase over the next week)
Update Apr. 13: Added licensing info to the source & some aesthetic fixes by Aleksandar.
Update Apr. 11: Added ranking numbers beside script names.
Update Apr. 8: Various aesthetic fixes, thanks to Aleksandar Djurić.
Update Apr. 5: Fixed jumping to the top of the page when you change what the box displays. (Thanks to LouCypher).
|
|
hay m new here |
|
|
Hi Friends this is Kashif Ali and im new user so plz tell me how can me use Scrap to all?? im not understand it so whoz help me abt that |
|
|
Is it not possible to limit results to English only? |
|
|
I added a id for you on the main ul - id="mainmenu" Feel free to email me with anything that would help your hacking... I would even run the python script locally for you if it helps. |
|
|
Thanks Dust, it's fixed now. This is a bit of a quick, hackish fix, so it still needs to be adjusted some, but at least it works. |
|
|
Hi, and thanks for the script, I have noted 1 thing, practically i see that the page for the list of the script have changed: Before was: http://userscripts.org/?page=* Now is: http://userscripts.org/scripts?page=* Am i wrong with something? Thanks in advance and sorry for my bad english. Stefano |
|
|
Yeah, that's because the script hasn't been caching data for long enough yet, it should sort itself out in a few days. |
|
|
I'm clicking on the links at top for New Week Ever etc and nothing changes? |
|
|
The script is unworkable for 2 reasons: 1) The userscripts page has changed a bit, which is easily fixed by changing this line:
2) This is the main cause, the author's website seems to be down: http://brad.bradmont.net/ so the script at http://brad.bradmont.net/nums.txt is returning a 404 response. |
|
|
still not working :( |
|
|
Any update on this or any related script? |
|
|
userscripts.org changed some stuff in the main page which the script was dependable on, thats why nothing happens because on failing to have those elements the script fails and stops |
|
|
Script is DOA and needs to be updated apparently as it was working and recently stopped. |
|
|
I installed the script and its not working. |
|
|
Working now. Thank you. |
|
|
Sorry for the downtime, guys... DNS issues. It should be back up some time this afternoon. |
|
|
Unless I'm missing something glaring, this appears to have stopped working for me today too. |
|
|
Is this working for anyone? I am getting google adds now on the right side. |
|
|
Hi, I just wanted to say thanks and good job real quick. When I first tried Greasemonkey a while ago, I actually gave up on it because I couldn't find any good scripts (and really didn't want to write - not to mention debug - everything from scratch). Your script is awesome. Thanks so much. |
|
|
I was wondering why the webmaster didn't do that, i guess its because he wanted us to do it :) Great feature! :D |
|
|
@Brad: Yeah, I totally agree. It'd be so much easier for them to just parse this out of the logs than for you to peck at their connection all day. |
|
|
Brad, GPL sounds great and thanks for including me in the script credits. Looking forward to see Top Scripts as built in functionality on userscripts.org |
|
|
No problems with me. It's fully your script anyway. |
|
|
Hey Aleks and LouCypher, I forgot to put license info in the script before releasing it, and since you guys have contributed to it now, I need your permission to add that -- are you both OK with making it GPL'ed? |
|
|
Aleks: Thanks for the patches. I'm away from home until tomorrow night, but I'll check them out when I get back. Fedallah: I haven't got anything like that set up right now. I think it would be cool to do, but I don't really want to create that kind of traffic to my server. Ideally I think it would best to have that sort of thing built into userscripts.org (actually, ideally, this whole thing would be built into the site...) |
You could comment on this script if you were logged in.
