Articles Posted During March 2003
this favelet rules.
[Update: this works as advertised, but you'll probably want to check out the revised version.]
By far the most complicated favelet I've attempted, this one fails in MacIE, but works fine in Camino/Chimera & Mozilla, so it'll presumably be okay in other Gecko-based browsers.
Also, I was surprised to find that recent Safari builds handle it properly, even though it's necessary to manually paste the HREF's value into a bookmark. (Dragging the link to the toolbar crashes my copies of the app, anyway).
It shows the mouse's current position in the browser window, and allows you to measure distances via a draggable marquee:
Ruler
You'll need to drag from upper-left to lower-right
in order to get a marquee, and it'd be nice if the
floater would swing around to the top/right when
approaching the bottom/left of the window, but hey, at
least I added Math.abs() to the width &
height display, so you'll still get a positive
measurement either way.
2003-03-27 01:34:21
show specific elements
Another favelet, similar to the previous one posted, this prompts the user for an element & color, but rather than build a list of specific elements, it highlights all of that type:
Show elementsIt can be run repeatedly on a given document, allowing you to outline all DIVs in red, Ps in yellow, and so forth. Tested on Safari, Chimera & MacIE5 only, so any feedback from Windows folks would be appreciated.
2003-03-20 18:38:33
highlight element favelet
I put together a favelet that highlights specific elements in the current document based on their ID. It prompts for the element name & allows the user to choose a color that will stand out against the current color scheme. It relies on DOM support, so lesser browsers are out of luck.
The MacIE version works well:
Highlight Elements [MacIE]But, the Gecko/KHTML version fails on some browsers, and I haven't been able to track down why:
Highlight Elements [Gecko/KHTML](If you're testing on this page, enter UL as the element, and you can highlight the main navigation menu.)
2003-03-20 01:17:56
exceptions
ksmith% grep '[^c]ei' /usr/share/dict/words | wc -w
2448
'I' before 'E', except after 'C', and the other 2448 words where it's 'E' before 'I'.
2003-03-17 16:05:19
patience
Note to self: When engaged in an SSH
session via a crummy dialup connection, do not type
until the prompt has appeared following the previous
command. Otherwise, mis-typing cd dirname
could cause the subsequent rm -r * to be
issued in the wrong directory, unintentionally wiping
out hundreds of files across several sites.
Steve, sorry about that.