userscripts favourites

By znerp Last update May 24, 2009 — Installed 2,944 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 52 posts, 12 voices



Jesse Andrews Admin

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

 
Hiromacu Scriptwright

Great work! Thanks!

 
Avindra V.G. Scriptwright

oh nice :D

 
znerp Script's Author

@avg: I actually made this script before it was implemented on the site (it was quite a surprise when one day there was suddenly built in functionality that seemed to mirror exactly what my script did), and I've explained the difference above..

The main functionality of this script has now been implemented into userscripts.org, making this somewhat deprecated. However, I recommend using this script to save favourites if you don't want other people seeing what you have favourited.

 
Avindra V.G. Scriptwright

isn't this already a feature on this page?

 
sharmard User

Thank you. Everything is working well for me now.

 
znerp Script's Author

@sharmard: I've just tested the script more thoroughly and I can now see that the recent site changes had broken it. I believe the changes I've just made should fix it now. You might need to remove and re-add any scripts it doesn't seem to be working for though.

 
sharmard User

Yeah, I know I could scrub everything and start over, but I have over 70 scripts favorited, so I was hoping there was an easier way.

 
znerp Script's Author

To clear all of the script settings, see my comment below (dated 7th Jan).

 
sharmard User

I'm seeing some odd behavior when I add the Flickr Cross-Recommendations script to my list of favorites. After adding this script, pulling up the favorites list gives me a page with the PostComment box at the bottom (and the red X to get rid of it doesn't work), and when I scroll down to the entry for Flickr Cross-Recommendations, there's all kinds of extra text and images from the page for that script embedded into the favorites list. Another effect seems to be that Userscripts Favourites marked every script on the list as updated.

Any ideas?

UPDATE: I do recall now that I originally installed the Flickr Cross-Recommendations script while script installs were recently broken. I have deinstalled and re-installed the script, and I have also de-selected and re-selected the script as a favorite, but the problem persists. Is there something else I need to do to clear some junk out of the config?

 
znerp Script's Author

@Hiromacu: I know you posted your comments quite a while ago, and I'm really sorry I never got back to you at the time. I'm glad you posted because I never know how many people actually use my scripts (although I can now see that this does have 18 fans).

I took your advice on changing the "Favourite scripts" thing to avoid confusion. I was clinging to it a little because my script have the functionality before the site did, but I should probably move with the times on that. Also, I believe I explained before that I'm not big on having the link in the top bar (either in my comments or in the comments to Raffles' similar script ... either that or I just thought it), but yeah, I tried to stick with the general format of the site when I came up with this, so I didn't want to add such a minor page to the links when eg. my scripts aren't linked from there, and I know I check that page more than my favourites.

Also, regarding the issue with terminating the script once it's started loading; I did play with this when you posted your comment, but I decided it's not a huge hinderance (although I personally only have about 20 scripts favourited, and I know it would be worse with many more), because it would be rare for this to occur (at least it would for me), and I don't know if people often click links and then change their mind. In brief, implementing some form of fix would be more hassle for me than it's worth.

But once again, thanks for taking the time to comment, and I'm glad that you use the script.

 
Hiromacu Scriptwright

Hi znerp!

I changed the name of the link in the user's page from 'Favourite Scripts' to 'Check List' because a little bit confusing the similar name. And I changed the name of the link in the main page from 'Your favourite scripts' to 'Your check list'. Additionally I put a new link ('Check List') to the header for easier access from anywhere on userscript.org.

http://img241.imageshack.us/img241/6416/pic1lg5...
http://img120.imageshack.us/img120/917/pic2ww0.png

/**** Access link to the header *****************/
chkl_li = document.createElement('li');
chkl_li.appendChild(document.createElement('a')).innerHTML = 'Check List';
li = document.getElementsByTagName('li');
li[3].parentNode.insertBefore(chkl_li, li[3])
function $(elementId) { return document.getElementById(elementId); }

And I have a comment!! If I terminate this script with 'Go back' browser button or context command, its doesn't stop! It runs on in the background and generate errors until the script enumeration is finished. This happen with the link of the main page and with my new link.

Error on Error Console:
Error: uncaught exception: [Exception... "Unexpected error" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: file:///C:/Documents%20and%20Settings/Hiromacu/Application%20Data/Mozilla/Firefox/Profiles/ztpgpdho.Hiromacu/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js :: anonymous :: line 524" data: no]

I can't terminate this script if I start it from the link of the user's page. So in this case there are no errors but I must wait until this script finishing. It would be better, if we would be able to break the running of this script. Would not be needed to wait if somebody changes his or her mind.

 
Hiromacu Scriptwright

I changed the color of both (minus & plus) icons for better look with UserScripts Dark Blue skin.
Plus: [url=http://imageshack.us][img=http://img74.imageshack.us/img74/792/pluslr2.png][/url]
Minus: [url=http://imageshack.us][img=http://img255.imageshack.us/img255/1226/minusju3.png][/url]

 
Hiromacu Scriptwright

Very useful script!! Thank you znerp!!! ;)

 
sharmard User

Thanks, znerp. That worked. Unfortunately, my PC crashed after I re-established everything, and I lost all the settings anyway. Bad timing. Anyway, it's working now.

 
znerp Script's Author

@sharmard: I don't quite know what to suggest or what could be causing your problem. I've looked through the code for this script a number of times and I can't see where it could be messing up. I've even tried it with the script you mention, but there are no problems for me. The only thing I can think that you should try is maybe uninstalling the script and ensuring you tick the "Also uninstall associated preferences" box. Then reinstall the script and re-add your favourites (it'd probably be best to either open them in tabs or to bookmark them all before doing this).

 
sharmard User

I'm having trouble with comment counts again. I have favorited 41 scripts, and each time I generate the results I get different comment counts for the individual scripts. Not always every script, not always the same scripts, nothing very predictable about it. I've reinstalled this script a few times, I've played with moving it higher on the scripts list, I've disabled other scripts that affect userscripts.org, but nothing seems to clear it up. Here's a small capture from one attempt:

Internet slang cleaner
16 comments ( +2 )
268 installs
Jul 1, 2007

And here's the output for that script from a minute later:

Internet slang cleaner
14 comments
268 installs
Jul 1, 2007

A minute after that:

Internet slang cleaner
0 comments
268 installs
Jul 1, 2007

It actually has 13 comments.

Any ideas?

 
Dawudd Scriptwright

It works now. Yay. Thanks. :)

 
Dawudd Scriptwright

Znerp, just a heads-up: the script no longer works.

Thanks.

 
znerp Script's Author

@dejitarob: Indeed there are two different lists, one is saved on the userscripts server and one locally on your machine. As I outline in the description of this script, the advantage of this one is that the locally saved list is viewable only to you and not to every Tom, Dick or Harry who wants to see what you've favourited. Other than this minor difference, there is no real difference between this and the system that has since been implemented to userscripts.org.

Since the implementation of the favouriting system on us.o, I've not seen the point or had the inclination to combine or update this script in any major way to integrate it with the site. I hope this explanation helps.

 
dejitarob User

Thanks for your reply znerp. What I was trying to say was that the two links show a different number of favorite scripts, with the http://userscripts.org/users/27010#favourites missing some.

 
znerp Script's Author

I've only just read dejitarob's comment, and I don't know if they'll be back to read this reply, but for everyone's info -- this script will add two different links to your favourites (one of which will redirect and end up being the same as the other). These are http://userscripts.org/users/me#favourites, and, using myself as an example, http://userscripts.org/users/22480#favourites.

Since I wrote this script, the userscripts site has had a favourites system integrated into it, and the disadvantage of this is that everyone can see your favourites. However, to see these favourites the link will be http://userscripts.org/users/22480;favorites.

 
dejitarob User

Also, this script generates two different links for favorites. If clicking "Your favourite scripts" from the userscripts homepage, the link will be http://userscripts.org/users/me#favourites and it only shows some of my favorite scripts. If clicking "view all" under "favourite scripts" in my profile, the link will be http://userscripts.org/users/27010;favorites and will show all my favorites.

 
dejitarob User

I love your script but I lost all my favorites when I upgraded to the latest version..

 
theaulddubliner Scriptwright

that's just not good enough

i expect you to call around this evening and fix it for me -- i mean what am i paying you for ?

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