Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
It's now sorting by fans not install count. |
|
|
Change:
date = scripts[i].getElementsByTagName('created-at')[0].textContent.replace(/[T:Z]/g, "-").split("-");
days = Math.ceil(new Date(new Date() - new Date(date[0], date[1]-1, date[2], date[3], date[4], date[5], 0).getTime()) / (24*60*60*1000));
To:
date = Date.parse(scripts[i].getElementsByTagName('created-at')[0].textContent.replace(/[TZ]/g,' ').replace(/-/g,'/'));
days = Math.max(Math.ceil((new Date() - date) / (24*60*60*1000)),1);
|
|
|
Well I've tried this on a XP and Vista, ff2 and ff3, and I can't seem to replicate this problem. So to be honest, I really don't know what I can do about this. |
|
|
this happens with me as well... if there is a script with 0 installs, the rate for that is messed up, and consequently, the total rate shows up as |
|
|
Ok, I've just created a test script and immediately checked back to my scripts page. It showed up as You're not being particulatrly helpful here ... does this only happen for you for scripts with zero installs, or can you see if there's some threshold time whereby it will appear as |
|
|
|
|
|
Well you're going to have to give me more details than that, Joe. I've looked at your scripts, and the one I think you might be referring to (2 hours old, zero installs) is showing up as |
|
|
|
|
|
@JoeSimmons: That's my bad, I guess I hadn't tested it with users with multiple pages of scripts. It should work now, but it will only calculate overall rates (at the top of the table) for one page at a time. Same for sorting. |
|
|
I'm getting this error on my own scripts...
Error: scriptsTable.getElementsByTagName("tr")[j + 1] is undefined
It says greasemonkey.js is the source, not your script. I know it is though because I can disable it and the error goes away. |
|
|
cool script! thanks! :) |
|
|
@ekbworldwide: I'm looking at your scripts and I'm not expriencing any problems. Have you noticed this with any other users scripts? |
|
|
Bug? I have two scripts... ekbworldwide's scripts – Userscripts.org
.. but only one showed up when I used an old version of your script. I just upgraded a few minutes ago - the problem persists. If I use the ff add-on IE tab - or disable your script - both scripts are visible. |
|
|
Not working for me, here is the error from firebug. scriptRows.getElementsByTagName("p")[2] has no properties
and scriptsTable has no properties
|
|
|
Not working for me?! |
|
|
@norz: I don't know why this should be; it works fine for me. Is anyone else experiencing problems? |
|
|
Couldn't make it work properly: I didn't see any extra links in the table headers, whereas I got them with the original script.
|
|
|
@FryGuy: Glad you like the script, but I can't seem to replicate the bug you described. Can you give me specific details of such an example (the install count, how long ago a script was created and in what context you're viewing the script, ie. in a search, in a user's scripts etc.) |
|
|
Good script!
|
|
|
Another AWESOME script. Thank you very much!! This is one of the first things I looked for on userscripts. (^_^) |