AltToTitle

By myfonj Last update Nov 27, 2007 — Installed 68 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0
Script Summary:
image.title = (title |)? (alt |)? filename

This script has no discussions.

start the discussion

This script has no reviews.

Simple, rough userscript, one of my oldest. It may seem quite brutal, but I am very used to it.

Not only it adds image alts to their titles:
- first it walks trough document.links and adds target (if present) and "filename" (that is just end of its href) to its title
- after that it walks trough document.images and builds titles from:
-- parentNode.title + title + alt + (end of) src
(silly to write such description; just look at the source)

If you are curious about transparency, check the "Show transparency of in-page images on hover" userstyle.