Posts by Raffles on scripts

Subscribe to Discussions on your scripts 123 posts

Nov 25, 2008

YouTube High Quality Revised [nov 08] [+autoplay off option]: fmt=22

Yes, the best way would be to enable it by default if available. I've changed your code to replace the fmt=18 to fmt=22 and I'm not seeing any ugly messages. The only thing is, I have no idea whether if this fails, YouTube is falling back onto fmt=18 or the lowest quality. I suspect it just shows the lowest quality. Ideally if 22 isn't available, 18 should be the next best option, and then of course the normal quality. Not sure how it would be possible to do this.

 
Oct 23, 2008

Gmail Quota Graph 2: Archived Comments

Hmm, it's working quite consistently for me with FF3.0.3.

 
Oct 23, 2008

userscripts.org Favourites: Archived Comments

Yeah, I know... next week I've got a few days off. If the weather is crap, I'll have a stab at it. :)

 
Oct 4, 2008

UserScripts Totals Data: Archived Comments

By the way, instead of using this:
document.body.previousSibling.innerHTML+=
you can use GM_addStyle, which is a bit nicer.

 
Sep 30, 2008

userscripts.org Favourites: Archived Comments

I'm aware that the comments counter is broken after the update to the comments system. I'll fix it when I have time.

 
Sep 30, 2008

Gmail Full Width 2: Archived Comments

Daniel Belini: Sometimes it isn't working for me too, I suspect because of the timers the script uses. Is it always not working for you, or only sometimes?

consu: I haven't been able to reproduce those features myself, but the showing/hiding idea is a good one that might be more robust than what I'm doing at the moment. I'll try and do this when I have time.

 
Sep 16, 2008

Gmail Full Width 2: Archived Comments

Have you installed this latest version? It's working fine for me.

 
Sep 9, 2008

AutoPagerize: Archived Comments

KaaMOS, why is Google in "excluded pages"? Doesn't make sense!

 
Sep 7, 2008

userscripts.org Favourites: Archived Comments

OK, done.

That must have been a caching issue of some sort. Odd.

 
Sep 7, 2008

userscripts.org Favourites: Archived Comments

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.

 
Sep 6, 2008

userscripts.org Favourites: Archived Comments

Thanks jerone, I found the error: I was using "First Updated" instead of "First updated". Tiny mistake!

Script has been updated.

 
Sep 6, 2008

Gmail Full Width 2: Archived Comments

OK, it's updated. Sorry about the wait. Fortunately it turned out to be less complicated than I feared!

Please let me know if the "Would you like to... map this" (or do something else) feature that sometimes appears on the right (but never for me it seems) is being moved to the message body? Thanks.

NOTE: It seems to work better with Adblock Plus disabled. So I'd recommend doing so (ABP > Disable on mail.google.com).

 
Jul 15, 2008

Gmail Full Width 2: Archived Comments

Max, there is no way my script can be doing that, as it is only active when a conversation is being viewed (this is using Gmail's API).

I know this script is faulty. I'll try to fix it when I have time.

 
Jun 24, 2008

Gmail Full Width 2: Archived Comments

I haven't had time to deal with this, but will quite soon, so I'll try to address all the issues then, as it's been irritating me too.

About the vertically misaligned labels, that's not to do with my script, Google haven't fixed it for FF3. You'll see if you disable Greasemonkey temporarily. I added a fix for it in the script but it isn't working as the entire script seems to be failing most of the time nowadays.

 
Jun 16, 2008

Google Images Auto Pager: Archived Comments

Without doubleclick, even easier:

replace this line:

document.body.addEventListener('dblclick',dblClickEvents, false);

with this:

dblClickEvents();
createLinks();

that will also create the "origin image" link under the thumbnail for the first set of results.

Excellent script, Pawel!

 
Jun 11, 2008

RS_Bundle: Archived Comments

kingto, he isn't getting paid to do this.

Thanks for your efforts at keeping it updated so frequently Descriptor, it's much appreciated.

 
Jun 7, 2008

userscripts.org Favourites: Archived Comments

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.

 
Jun 4, 2008

Download YouTube Videos as MP4: Archived Comments

Working well for me. Good script, nice and simple and does what it says on the tin. Cheers!

 
Jun 4, 2008

Gmail Full Width 2: Archived Comments

I've been noticing problems now. Sometimes it works fine, other times not. Normally a hard refresh solves any issues. The same goes for another script of mine and I think it's something to do with Gmail's way of loading the page in bits and the fact it uses iframes.

I'll try and have a stab at fixing it this weekend.

 
Jun 3, 2008

userscripts.org Favourites: Archived 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.

 
May 30, 2008

DOMClipper: Archived Comments

The script doesn't work in Firefox 3. Not sure why as I haven't checked, but hopefully it isn't too complicated.

 
May 30, 2008

userscripts.org Favourites: Archived Comments

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)

 
May 29, 2008

Google Auto Pager: Archived Comments

GM_setValue and the other GM_* functions will only work within a Greasemonkey script, not within an extension. Extensions can set their own preferences anyway (visible in prefs.js / about:config), which is pretty much what Greasemonkey does with GM_setValue, so you should find out about that.

 
May 29, 2008

userscripts.org Favourites: Archived Comments

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.

 
May 28, 2008

userscripts.org Favourites: Archived Comments

Cheers jerone, should be working again.