Simon Willison’s Weblog

Image Drag bookmarklet fixed

Boris Zbarsky offered a fix for my image drag bookmarklet’s problems in Strict doctype pages. The problem was due to Mozilla, when operating in strict mode, refusing to absolutely position elements that don’t have a unit of measurement specified. The bookmarklet now works perfectly on pretty much every page I’ve tried it on.

Image Drag

This is Image Drag bookmarklet fixed by Simon Willison, posted on 13th February 2003.

Next: Classes for pages

Previous: Indexing hypertext

Previously hosted at