[Greasemonkey] Mark my links: an E4X example
Johan Sundström
oyasumi at gmail.com
Wed Mar 1 06:38:25 EST 2006
I played around a bit with Mor Roses' kindly provided E4X to DOM node
code over the weekend and tossed up an ambitious tool to add favicons
to links pointing your way. The userscripts.org entry is at
http://userscripts.org/scripts/show/3382, a more descriptive quick
description of it at
http://ecmanaut.blogspot.com/2006/03/mark-my-links.html and a verbose
tutorial on usage / changelog at
http://ecmanaut.blogspot.com/2006/02/mark-my-links-configuration-updates.html
It might be worth a look or two, either to pick up on how one can use
E4X in GM scripts (final two methods) or for the functionality of it,
for that matter. My experience was not all joy and pleasantries,
though; as soon as you have a syntactic error in your E4X somewhere,
the script will silently stop working, and the (compile) error does
not propagate to the console. In short, it makes a finished script
more readable, presently at the cost of development somewhat more
painful.
--
/ Johan Sundström, http://ecmanaut.blogspot.com/
More information about the Greasemonkey
mailing list