K-Meleon
Submitted by: jsnj
Notes: JavaScript from http://www.squarefree.com/bookmarklets/ with assist from MonkeeSage
ZoomInAll{ menu="Zoom In All Images"; open("javascript:(function(){ function zoomImage(image, amt) { if(image.initialHeight == null) { /* avoid losing height information due to integer rounding while zooming out */ image.initialHeight = image.height; image.initialWidth = image.width; image.scalingFactor = 1; } image.scalingFactor *= amt; image.width = image.scalingFactor * image.initialWidth; image.height = image.scalingFactor * image.initialHeight; } for (i=0; i<document.images.length; ++i) zoomImage(document.images[i], 2); })();"); } ZoomOutAll{ menu="Zoom Out All Images"; open("javascript:(function(){ function zoomImage(image, amt) { if(image.initialHeight == null) { /* avoid losing height information due to integer rounding while zooming out */ image.initialHeight = image.height; image.initialWidth = image.width; image.scalingFactor = 1; } image.scalingFactor *= amt; image.width = image.scalingFactor * image.initialWidth; image.height = image.scalingFactor * image.initialHeight; } for (i=0; i<document.images.length; ++i) zoomImage(document.images[i], .5); })();"); }
# Under &View macros(ZoomInAll) macros(ZoomOutAll)
CTRL Z = macros(ZoomInAll) ALT Z = macros(ZoomOutAll)