User talk:Kalan/markblocked.js

This script strikes through the names of blocked users in Wikipedia pages like in LiveJournal. It affects links to user and user talk pages (except subpages and section links) and contributions (may be useful for anons).

Description
User Troll Vandal How it should look

After the page has finished loading, the script searches for userpage links, grabs the information about their status from API and marks them: blocked users are marked by being struck out and changed to a lighter color; users that are blocked indefinitely get italic text and an even lighter colour in addition to the striking out.

If the strikeout stops you from reading link text, just hover your mouse above it, and it will change into an underline.

Also, the link tooltip now contains useful information: the username of the admin who performed the block, the expiry time and the comment from the block log.

Configuration
To save the settings, you should add them to your js-file (commonly monobook.js).

Technical details

 * The script has been tested in IE 6.0, IE 7.0, Firefox 2.0.0.14, Opera 9.27.
 * Due to bugs in Firefox 2, users of this browser may not see the full text of tooltips. A possible way to fix that is the Long Titles extension.
 * Links are not semi-transparent in Internet Explorer by default.

Known issues

 * Some pages (e.g., history of blocked user's talkpage) may look weird.