Finding anchors
Take a look at what digiboy did. He’s built a first hack at the browser stunt I asked for yesterday: exposing anchors in a web page. Nifty.
The only problem is that it’s impossible to tell where each anchor is on the page. I’m not sure how solvable this is client-side, though. My ideal browser has a menu command “Show anchors” and then highlights (or pops a character or image into—something like that) each spot where there’s an anchor. Right-click the highlight, copy link to clipboard, just as I can do with blog-generated permalinks. Sigh. Wouldn’t that be cool?
Found digiboy via my referrer logs. Maybe I should crawl through those more often than I do.
Update: Check this out, courtesy of Kryogenix. It is a wondrous cool bit of Javascript that does everything I asked for. Sa-weet. I have to teach myself Javascript, like, right away.
I also had the View-Page Info command in Mozilla pointed out to me. The Links tab will show you the links (including anchors) on any given page. Unfortunately, it doesn’t give much of a clue where the anchors actually are on the page, so I prefer the Kryogenix solution. Which is, as I think I said, wondrous cool.
Update update: See also this CSS-based technique for showing URLs, courtesy of Colin Z. Robinson. Very clever. Gee, ask a silly question, get a lot of very intelligent answers.