[Tfug] Rewriting HTML links?
cjr at grundrisse.org
Sat Oct 16 14:25:23 MST 2010
On Fri, Oct 15, 2010 at 07:39:08AM -0700, Angus Scott-Fleming wrote:
> On 13 Oct 2010 at 17:19, Claude Rubinson wrote:
> > I'm running into an annoyance with my new University's website. For
> > most (all?) of the email addresses the link isn't actually a mailto
> > address but, instead, a link to a contact form with CAPTCHA. Is it
> > possible to fix this client-side? I'm thinking that maybe there's an
> > extension that I can use with a regexp to recognize the email address
> > rewrite the HTML link Or, heck, just remove it so that I stop clicking
> > on the damn thing. (Along those lines, another solution might be to
> > always color mailto links differently. Is that a possibility?)
> Can you highlight the email address? IOW is the email address text or a
> graphic showing the address? If it's text, you could write a bookmarklet to
> fire off the email client using the highlighted text.
That's an interesting thought. (Yes, the email address is just plain
HTML; it's simply that it links to a webpage rather than a mailto
link.) I'll look into this solution before diving into Greasemonkey.
More information about the tfug