Script Summary: Make thumbnail images inline-expandable
Version: 0.5.1
- Don't limit maximum image height to window size.
- [Bug] Correctly handle relative URLs in dynamic redirects.
- Special case imgur, quickmeme, and memegenerator (for browsing reddit :-).
This script lets you expand thumbnail images, i.e. replace them by their full version. It simply checks for images that link to another page and sets their "source" attribute to the link target.
There are four ways to activate the functionality of this script:
- Tilt wheel: Hover over the thumbnail and tilt your scrollwheel to the left or right (requires a mouse that supports horizontal scrolling).
- Image overlay: Hover over the thumbnail and click on the button that appears in the upper right corner.
- Global overlay: This script will inject two buttons into every page you visit. They are located in the upper right corner of the browser window. The first one will attempt to expand all thumbnails on the page; the second one will collapse all expanded thumbnails.
- Script menu: This script adds two commands to Greasemonkey's user script menu, "Expand all thumbnails" and "Collapse all thumbnails" (same as the two buttons described above).
All of these can be disabled separately by editing the variables at the beginning of the script but currently there is no convenient user interface for this.
There is a hardcoded list of special cases because some image hosts link to an HTML page containing the full-size image (instead of linking directly to the image). The script will automatically try to figure out the right image URL when expanding a thumbnail from such a host.



