My Greasemonkey scripts

As Greasemonkey extension website has put it,

Greasemonkey is a Firefox extension which lets you to add bits of DHTML to any web page to change its behavior.

When a particular web site can use a layout change which I like, but the webmaster of the site in question does not agree with me, writing a Greasemonkey "user script" can really help.

Another relatively common use for a user script is to integrate two (or more) mostly unrelated websites.

Without further ado, the scripts!

Next/Previous Navigation

next-prev-navigation.user.js version 1.38

    The Next/Previous navigation script adds keyboard shortcuts for jumping around various paginated screens. Navigating newspaper articles, search results, and webcomics comes to mind. Just press right arrow to go to the next page, left arrow to go to the previous page.

    As of version 1.5, the script even supports next and previous links represented by images. As of version 1.6, older versions of Greasemonkey and Firefox are supported. Version 1.7 improved image buttons handling. Version 1.8 made onClick in links work better, and improved patterns for "Next". Version 1.11 adds support for variants of "<<" and ">>". Some spell "Prev" as "Back". Version 1.12 accounts for this peculiarity. Version 1.14 adds support for German variants of "next" and "prev". Version 1.23 implements "if everything fails, try to see whether the URL looks like a part of a sequence which can be incremented/decremented". Version 1.25 extends URL handling to those that look like dates. Version 1.26 makes the script to not fire up when a form input field has focus. Version 1.27 adds a simplistic ranking system so it prefers some possible next and previous links to others if there is a conflict. Version 1.31 groks Danish. Changes not listed above mainly introduce better patterns or bugfixes.

Metric Yahoo Weather

yahoo-weather-respect-metric.user.js version 1.4

    Make Yahoo Weather respect metric units.

    Although Yahoo Weather has a metric mode, it is, unfortunately, incomplete. The textual forecast still uses things like "29F" and "15 to 25 mph". Since this is not very useful for the rest of us, :-) I wrote this script, which fixes the problem. It even tries to do something sensible when encountering things like "in the upper 30s".

    A reasonably good URL to test this script would be: http://weather.yahoo.com/forecast/DAXX0009_c.html.

Upside-down text

rot180.user.js version 1.1

    Upon pressing F8, turns text on the page upside-down using unicode characters.

    When the user presses F8, the ASCII text on the page is replaced with unicode characters that look like the characters in the original text, but upside-down.

    The idea and the conversion table stolen from Acme::Rot180 Perl module and its precursor, uniud script, by JohnPC.

IMDb Search With Danish TV2

tv2imdb.user.js version 0.01
    Adds IMDb search links to Danish TV2 TV guide

Widen www.freebsd.org

freebsd-widen.user.js version 0.01
    Widen fixed width layout of www.freebsd.org

Bloglines Fix-J

bloglines-fix-j.user.js version 0.04
    Fix `j' - "go to next article" shortcut in Bloglines for larger font sizes.
    This script is now retired, since Bloglines has fixed the problem. It is left here for the reference only.