AltToTitle

By myfonj Last update Nov 27, 2007 — Installed 102 times.


Script Summary: image.title = (title |)? (alt |)? filename

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.