Userscripts Updater

By lazyttrick Last update Oct 23, 2011 — Installed 351,667 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 124 posts, 30 voices



Jesse Andrews Admin

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

 
TwoPageAfro User

Thanks for this. There was a period where I thought this script was gone or not being updated.. not sure. But this is loads better than the previous versions.

Keep up the good work! I'll keep downloading it.

 
lazyttrick Script's Author

Codrin, if only the updater is listed you need to install the others. Before doing that, make sure you install the updater again.

 
Broni User

It works now. Thank you.

 
Codrin H User

how to resest userscripts updater settings ?

it comes only with "Userscripts Updater", the other scripts are not listed.

 
lazyttrick Script's Author

reinstall should fix now (only need to reinstall the updater)

thanks all for detecting the regexp problem, with the API mentioned by Jesse the script will hopefully be stable for ever and ever :D

PS: I'm slowly rewriting my scripts to use xpath... lol... took me a long time, but I saw some charts showing the huge performance gain...

 
AaronD Scriptwright

Change the line:

txt = resp.responseText.match(/Last\s+update\s+on\s+\S{3}\s+\d+\,\s+\d+/)[0].replace(/Last\s+update\s+on\s+/,'');

to (remove the two occurrences of "\s+on"):

txt = resp.responseText.match(/Last\s+update\s+\S{3}\s+\d+\,\s+\d+/)[0].replace(/Last\s+update\s+/,'');

...there are a few other similar lines... you can find them by searching through the source and deleting "\s+on" in strings like the above.

 
valahul User

Please, lazytrick, can you explain where must put that ”on”?

 
Jesse Andrews Admin

@lazytrick,

I removed the word "on" from the updated time - it should work if you change that.

Also I'll work on an API method call instead of making you parse pages.

 
Jonny Scriptwright

Broken here too.

 
yabash User

me to...

 
jfty.009260 User

Script seems to be broken. All scripts are shown to be not found. And there's a notification telling me to upgrade but I've already got the latest version.

 
ozzii User

So, I need to reinstall all scripts, as well, right?

No.

 
Broni User

Broni, the site changed a little and affected the updater. You just need to install the updater again.

So, I need to reinstall all scripts, as well, right?

 
lazyttrick Script's Author

theres no way with this updater... there used to be another updater here at USO that would go that deep... but I don't know if its still working, couldn't find it now

 
ozzii User

Thanks to you for taking notes of my suggestions ;)

EDIT: One question: is there a way to detect that a script is on userscripts updater and not into GM? And the oposit (on GM but not in UU) ?

 
lazyttrick Script's Author

I'm taking notes, for the next time I work on it, thanks:)

 
ozzii User

2 suggestions:
1- make a variable for the height of the scroll box. I put 350 instead of 150. Or maybe if there is a way to find the height of the page and do this height (like automatic).
2- make the update box also scroll.

 
lazyttrick Script's Author

edit: remembering position now, added a "reset positioning" at greasemonkey menu, just in case... thanks all for the suggestions, i know theres some to do, i'd like to make css more customizable, and some other stuff... cheers

 
jerone Scriptwright

I just noticed the drap&drop feature and I like it.
It has only one bug; with the options div, the scrollbar isn't working anymore. When trying to slide the scroller, it drags the div.
A suggestion for the new feature is to remember the previous position.
Good work.

 
lazyttrick Script's Author

Broni, the site changed a little and affected the updater. You just need to install the updater again.
BTW, I included some code so next time the site change the updater will probably detect it and warn about it.

 
Broni User

I wasn't checking this site for couple of weeks, but now, when I click on "Update scripts", it gives me list of 30 "Script not found" entries. What gives?

 
lazyttrick Script's Author

found a simple drag code so I added to it

 
ozzii User

The scrollbar is a good idea. And maybe put the save on the top

 
lazyttrick Script's Author

I wonder if Simon got rid of that problem...?

jerone, I never imagined this scenario... since those http requests are asynchronous operations running from a loop, I'm a little worried... also, maybe I should put a scrollbar on the options window, so one doesn't have to scroll a zillion times to click save...

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