Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
Yeah, I know... next week I've got a few days off. If the weather is crap, I'll have a stab at it. :) |
|
|
Due to site changes this script is broken. Any change in updating it soon Raffles? |
|
|
I need to add |
|
|
|
|
|
I'm aware that the comments counter is broken after the update to the comments system. I'll fix it when I have time. |
|
|
I guess, thnx anyways. Still loving your script. |
|
|
OK, done. That must have been a caching issue of some sort. Odd. |
|
|
It cases trouble when a script injects an iframe into the window and there are a few useful userscripts here who do (including one of mine).
For the second problem, I restarted my browser just before and the problem disappeared. |
|
|
I don't understand - why would that be necessary? I can't find any instance when the header is not present. As for the second problem, I can't reproduce that. I have a number of script that have not been updated since they were first uploaded and u: always shows the first uploaded time. The script already uses the "First uploaded" time - lines 111 and 322. |
|
|
Thats great news, thnx. I've a little suggestion:
var navitems = document.getElementById('header');
if (!navitems) return;
navitems = navitems.getElementsByTagName('li');
if (!navitems) return;This prevents errors with other scripts.
Another problem I came across, was times/dates with scripts like this one; they don't have a "Last updated" time/date. The result is that it always show like this: "u: 12 h ago" and almost every time shows on top when sorted. The solution is to use the first uploaded time (until the "Last updated" is added). I hope you understand my problem and you can fix it. |
|
|
Thanks jerone, I found the error: I was using "First Updated" instead of "First updated". Tiny mistake! Script has been updated. |
|
|
Hello Raffles, Every time I click "Refresh" I'm getting the following error in Firebug:
It goes the same for these script numbers: 12497, 3548, 9726, 3412, 30490, 675, 1641. Can't find any matches between these scripts, but maybe you know what happens. I've got 41 scripts favourited atm. Also I've got some small space between the 'Favourites' word and the popuped div. I've fixed it by chancing I don't know if anyone else get these errors too?! ps. I can't recreate the previous problem and forget about that translation suggestion, you made a good point. |
|
|
Real nice. I wish the 50 faves I had added before this script could somehow be transferred. But I know that's asking too much. Great job tho this is a must have! |
|
|
I've added a small feature: if a script has new comments (i.e. a different number from last time), one of these (ยป) is displayed before the number of comments. |
|
|
Do you mean that it goes into some other order, different to the order you had them in before pressing "Refresh"? That doesn't happen to me, the order stays as it it, and it should, because the list items are not moved or removed at all, only the elements inside each are changed. As for multiple languages, I find it curious that you would want that, as the rest of the site is in English. Wouldn't it clash horribly? Something I'd rather tackle first is the synchronisation with the site's system. |
|
|
Still loving your script. Only comment I have that when I press "refresh" the list below doesn't reorder when I have them sorted on "last update". To fix this the list should be reordered when refreshing is finished. Do you've got plans in making this script multi-language?
gr J |
|
|
Thanks for the fix! I love the famfamfam icons :) |
|
|
Thanks for pointing that out, Gollum. I've updated it to accommodate scripts that haven't been updated and only have a "First uploaded" date. lastupdated = xpath('//div[@id="right"]/h6[contains(text(), "Last updated") or
contains(text(), "First uploaded")]/following-sibling::p/text()', true)
|
|
|
I also use Update scripts, shifting "Favourites" leftward. Which meant editing the css for the |
|
|
Raffles, great to hear that. Thanks for your time. |
|
|
Script page (h6) header can now be Last updated + First uploaded or just First uploaded. If the latter then script falls over with xpath error.
|
|
|
jeton: Like I said, my system is completely separate. That is why there are different numbers for each system. Now that I think about it, I think synchronisation would be a good idea. I'll work on it when I have time. |
|
|
Here's a screenshot explaining the issue:
On nr.1 userscripts.org shows that i have 11 favorite scripts. On nr.2 your script displays only 7.
|
|
|
Cheers jerone, should be working again. |