hello,
i can't possibly be the first person to think of this, but i couldn't
easily find any information on it: emacs-style hooks, ie callback
functions associated with different events and conditions.
for example, i'd like to do something like this to compensate for the
main text being <font size="-1"> on mozillazine:
function bigger_font() {
document.set_text_size('110%');
}
add_hook('open_url', 'http://www.mozillazine.org/.*', bigger_font);
so, is something like this possible in current mozilla, and if so, how
is it spelled?
-- erno