AutoLink (Modified for Twitter)

By RossRuns Last update Jul 11, 2008 — Installed 709 times.


Script Summary: Turns plain text URLs, email addresses, and Twitter links (@twitterID) into links. You can add new filters if you know how to use JavaScript regular expressions. (Only Twitter links are new in this modified version.)

Please note - this is a SUBSET of the AutoLink script provided by Jesse Ruderman's AutoLink greasemonkey script - For the full functional version of that script, please go to http://www.squarefree.com/2005/05/22/autolink/

(Note: Jesse Ruderman's version will not support @twitter style links)

Included filters:

* Plain text link
* Email address
* Twitter links (format @twitterID)

Features:

* You can add new filters if you know how to use JavaScript regular expressions.
* Works even on pages with dynamic content, such as Gmail.
* Avoids slowing down Firefox. (Calls setTimeout after working for a while.)
* Avoids creating self-links.

Warnings:

* This triggers a memory leak bug in Firefox (bug 241518).
* This triggers a dataloss bug in Firefox when editing long Wikipedia pages (bug 315997)

Author: Jesse Ruderman - http://www.squarefree.com/
Adapted: Ross Goldberg - http://www.rossotron.com/

Test page: http://www.rossotron.com/public/gm/autolink/aut...