Linkifier

By Keith Rarick Last update Jan 12, 2008 — Installed 850 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Script Summary:
Convert arbitrary text in web pages to links.

Script homepage

Recently Updated TopicsPosts
Archived Comments2

this script has 1 topic, 2 posts

This script has no reviews.

Edit the patterns in LINK_PATTERNS to suit your needs. LINK_PATTERNS is an array of 2-element arrays. The first element of each pair should be a regular expression matching the text to linkify. The second element should be a function object. That function is expected to return a 2-element array containing the url for the resulting link and the text of the link.