DOMContentLoaded and Greasemonkey

A very common purpose of Greasemonkey scripts is modifying the DOM structure of the document, mostly adding something new. I’ve written several scripts before and have been doing such modifications in the “load” event handler, as in this script. The problem is that “load” event is fired after all images on the page have been… Continue reading DOMContentLoaded and Greasemonkey

Fading Image With Firefox 3

As you may noticed, when you drag some selected text or an image, Firefox 3 displays the “ghost” with fading effect. This feature can be used to create a fading image. First choose your image to fade. If it’s on your disk, just drag it into a Firefox tab. Press Ctrl+T to open a new… Continue reading Fading Image With Firefox 3