Plain text hyperlinks

Turns URLs in plain text into links.

This script scans plain text files and pre-formatted text blocks in HTML for text which looks like URLs and transforms them into hyperlinks.  The script attempts to be intelligent about where a link begins and ends, omitting ending periods, commas, parentheses and so forth if they appear not to be part of the URL.

Syndicate content

Tested with Opera version(s): 
10.0
10.10
Your rating: None Average: 3.8 (5 votes)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Does not work as it should

There still are plain text links that are not turned into hyperlinks. Hopefully you can fix that in an update to this script.

I can't fix what I don't know

I can't fix what I don't know about. :P
Can you point me to some samples?

I'll find some examples

Don't expect them to appear immediately, though.

Can you find a way to make this work?

Is there a way to make your userscript work for urls that are coded in vBulletin forums?   Example: http://www.drunkenstepfather.com/forum/showthread.php?t=17270&page=3

Since those are pre-formatted

Since those are pre-formatted text blocks, it already works.  Did you try it and have it not work?  If so, there's something wrong, because your example works for me.

Beats me.  I'm using version

Beats me.  I'm using version 10.20 alpha by the way.  They definitely aren't clickable by themselves.

Just tried it in Opera 10.20,

Just tried it in Opera 10.20, and it works.  Does the script work at all for you?  Maybe some other script is somehow interfering?

Ok. Working now

I went ahead and uninstalled both Opera 10.10 and 10.20 and reinstalled just the 10.20 version.  The script seems to be working fine now. I have no idea what caused it not to work, I didn't have any other scripts in the folder at the time.

At any rate, the problem had something to do with my Opera installation and not your script.  Keep up the good work!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.