Archived Comments (locked)

in
Subscribe to Archived Comments 22 posts, 13 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Mindeye Scriptwright

I'm working in a personal version of this script (different code, similar functionality) for /home/scripts, as Arvid doesn't seem to update this anymore. Maybe I'll upload it when it's ready

EDIT: It's here

 
znerp Scriptwright

@Mindeye, I just came here to say the exact same thing. That's line 48 of the script if anyone's interested.

 
Mindeye Scriptwright


var installs = $xs("./td[@class='inv lp'][2]", scriptrow);

... should be now...


var installs = $xs("./td[@class='inv lp'][3]", scriptrow);

Now that the Fans column has been added

 
jerone Scriptwright

A small addition for people who use this script and use another script that implents an iframe;
change the first code line to:

if((node=$x("id('content')/h1/text()")).length<=0)return;
var yourscripts = ( trim(node[0].data) == 'Your scripts' );

 
steeev Scriptwright

cool script! thanks arvid! and jerone for the fix :)

the include line for this script also needs to be changed from
http://userscripts.org/users/*;scripts
to
http://userscripts.org/users/*/scripts

 
jerone Scriptwright

Still like your script, but you need to update it (see below).

I also have a request:
show the previous count, in gray for example.

gr J

 
Jordon Kalilich Scriptwright

Thanks, jerone. I almost had it there (I figured out the first part).

 
jerone Scriptwright

to get this script working change the following:
var comments = $xs("./td[@class='inv lp']/p[1]", scriptrow);
var installs = $xs("./td[@class='inv lp']/p[2]", scriptrow);

to:
var comments = $xs("./td[@class='inv lp'][1]", scriptrow);
var installs = $xs("./td[@class='inv lp'][2]", scriptrow);

and:
var ncomments = comments.textContent.match(/^([\d,]+) /);
var ninstalls = installs.textContent.match(/^([\d,]+) /);

to:
var ncomments = comments.textContent.match(/^([\d,]+)/);
var ninstalls = installs.textContent.match(/^([\d,]+)/);

 
Jordon Kalilich Scriptwright

This script no longer works.

 
mungushume Scriptwright

Hey Arvid,
userscripts.org has changed a little and your script has stopped working. The "your scripts" url no longer has a ; between your user id and the word "scripts". Its changed to just a /.
Damn!

Not the easiest problem to fix generically but users can change the include to be personalised to their specific user id. i.e.
from
http://userscripts.org/users/*;scripts
to
http://userscripts.org/users/24722/scripts

 
Matthew Botos Scriptwright

Thanks for including the total installs and comments!

 
znerp Scriptwright

I think this is an awesome script, and probably one that I find most useful. I've modified it to work for updates and installs on the new favorite scripts. It's not the best coding, but it works. You can find my script here. Hope you like it!

 
Timothy Scriptwright

Nope, no errors, its a shame, this is a nice script :(

 
Arvid Script's Author

Timothy, what Henrik says is true, but it shouldn't make the script break (or should it?). Have you seen any errors in the error console?

 
Henrik N Admin

Lior: I agree similar functionality should be implemented, but I'm not sure putting it all on the "my scripts" page would be the best solution for that. Perhaps a RSS feed, in combination with http://userscripts.devjavu.com/projects/userscr....

Timothy: That just means Notepad doesn't handle other line-breaks than the standard Windows kind (\r\n).

 
James Cameron Scriptwright

Awesome. I always wondered how many people downloaded my scripts.

 
Timothy Scriptwright

Not sure why, but the script to it, looks like this on my computer, and it doesnt work.. :\

 
Lior Zur Scriptwright

This script is absolutely fantastic. It's a great idea, which is executed beautifully. I strongly suggest its functionality be implemented into the site itself. Is it possible, Arvid?

 
Jordon Kalilich Scriptwright

Great idea. Now I don't have to guess how popular my scripts have been. Thanks!

 
Henrik N Admin

To clarify – that @exclude should be made in User Scripts Search Sorting.

 
Henrik N Admin

Great script; very addictive ;)

If used together with User Scripts Search Sorting, one probably wants to @exclude http:// userscripts.org/users/452;scripts (without the space), replacing 452 with one's user id. Otherwise, this script won't display scripts with activity topmost.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel