User script for rearranging your 43 Things

April 29th, 2005

Drag 43 Things lets you rearrange your 43 Things by dragging instead of by giving a new array index for each item. The script is based on Javascript drag-and-drop ordered lists by Simon Cozens.

To install a user script into Firefox, install Greasemonkey, restart Firefox, open the user script, and select "Install User Script..." from the Tools menu.

Fifty million Firefox downloads

April 29th, 2005

Firefox 1.0.x reached approximately 50,000,000 downloads today. That's an average of almost 300,000 downloads per day since Firefox was released on November 9, 2004. Spread Firefox is celebrating with a photo contest, which already has several winners. It's great to be involved in such a successful project.

I don't have anything against the convention of celebrating numbers that have a lot of zeros at the end when written in base 10, but I'd like to make fun of it by pointing out that Firefox is likely to reach 0x3000000 (50,331,648) downloads within a week.

User script for DreamHost rewards page

April 27th, 2005

I wrote DreamHost Rewards Reorganizer, which puts the block containing "You currently have $X.XX of Rewards payments built up!" at the top of the page. Now I don't have to scroll down to see if I've earned another $97 for referring someone to DreamHost. My script does not conflict with JenMad's script, which acts on the rewards report page rather than the rewards overview page.

JavaScript Shell 1.2.1

April 23rd, 2005

Entering a single-line comment on the last line no longer causes a syntax error. Updated shell, updated bookmarklet.

Tontie

April 22nd, 2005

Tontie is one of the most addicting games I have ever played. In this game, you whack aliens by pressing digit keys on the number pad corresponding to their positions. The aliens become more diverse and the game gets faster as you progress through the levels. It took me a week of gradually improving my skill to be able to reach and later beat level 20.

Some remaining Tontie challenges for myself:

  • Using the second code (start at level 11 with winged silver hammer and 5 hearts), get all upgrades and reach level 20. Right now I have a much easier time if I start on level 1 (without a code), because I can usually get a golden hammer by the time I reach level 11. But levels 1-3 are boring, so it would be nice if I could skip the first 10 levels.
  • Get from level 11 to level 20 without using any continues, starting with no code or the first or second code.

JavaScript Shell 1.2

April 20th, 2005

New features and bug fixes in JavaScript Shell 1.2:

  • Multiline input. You can now insert line breaks using Shift+Enter and paste multiline scripts. Edward Lee ("Mardak" on irc.mozilla.org) added this feature.
  • Fixed the bookmarklet version to work in Firefox 1.0.3 (it was broken due to the fix for bug 289074). Edward Lee was the first to point out this problem and helped me fix it.
  • Fixed print() to not bring up the File > Print dialog.
  • Fixed blink() to work in IE (using border instead of outline) and Opera.
  • Made the feature that lets you click anywhere to focus the input box work in Opera. It still doesn't work in IE.
  • Fixed multiline output in Opera. It still appears all on one line in IE.
  • Fixed the bookmarklet version to have a vertical scrollbar when needed on Firefox trunk. (I might be working around a bug in Firefox trunk.)

I'm aware of several new problems introduced by the multiline input feature:

  • In Opera, Enter inserts a line break and *then* submits.
  • In IE, multiline output isn't broken over lines.
  • In Firefox 1.0.x, but not on trunk, a scrollbar appears if you have a few dozen lines of input.

JavaScript Shell 1.1 is still available.

BugSort user script

April 18th, 2005

My second user script, BugSort, lets you sort Bugzilla bug lists (example) without contacting the server. I have tested it with Greasemonkey 0.2.6 on Firefox 1.0.3 and with a prerelease version of Greasemonkey 0.3 on Firefox trunk.

Check Range user script

April 13th, 2005

My first user script for Greasemonkey is Check Range. It lets you check or uncheck a range of checkboxes by clicking the first checkbox and then Shift+clicking the last checkbox. I have tested it with Hotmail and Yahoo! Mail. I have only tested it using Firefox 1.0.2 because Greasemonkey does not work on the trunk for me.