Auto zoom and pan SVG, either opened directly in browser or embedded
The script allows to zoom and pan SVG images, either opened directly in browser or embedded via <object> or <iframe>. The ones inserted as <img> won't zoom as they don't expose their DOM.
The script has several features:
Zoom from center.
Turbo mode with Alt key pressed. Speed is configurable, default: 5x.
Turning script on/off by pressing Esc (key configurable)
Script settings can be changed quickly via UJS Manager.
This script basically allows you to set specific zoom sizes for specific sites.
It uses a combination of relatively new standards built into Opera 10.5 , CSS 2D transforms and Javascript localStorage object, to be able to zoom the page, and save it.
It requires a javascript bookmark to be able to save your zoom level.The code for this is below. As it wouldn't be possible to have a consistent UI with it. But it mostly works for the main part.