Closed Bug 40995 Opened 25 years ago Closed 25 years ago

[RFE]Detect and link plain-text URLs

Categories

(SeaMonkey :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 39042

People

(Reporter: mozilla, Assigned: asa)

Details

If a text stream includes http://blahblahblah, it would be nice if mozilla would turn that into an active link. It might be a challenge to come up with universal rules for determining the end of the link (if it's in a sentence, it may be followed by punctuation, that sort of thing.)
I'm not sure if we want to go here. Maybe as a feature that can be turned on/off perhaps? Anybody else?
(Note that bugzilla does this exact request...) An alternative possibility (or a completely separate, but compatible feature) would be to allow the user to mark a line of text and then "treat as link" or perhaps "Go to location" would be an option in the context menu for that selection. Note that this wouldn't be confined to recognizeable URLs, it could treat the text just as it does in the Location: text entry box -- so selecting "mozilla" would take you to http://www.mozilla.org.
One could support the <URL: url-here > syntax defined in RFC 1738, along with other heuristics (i.e., recognize common scheme starts (http:, ftp:, news:, etc.) and then include all characters valid in a URL. Marking confirmed, since this is a valid RFE, although I'm not sure what to do with it. (But it might be a dup...)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Detect and link plain-text URLs → [RFE]Detect and link plain-text URLs
cc:ing Ben Bucksch, who might have some ideas about how to implement this for normal text files (since he wrote the text to html converter).
I'm not sure about auto-detecting and transforming plaintext into URLs, but I know the "treat as link" or "go to selection" context menu suggestions are a dup of something I saw awhile ago
Keywords: qawanted
The code is all there, see <http://www.bucksch.org/1/projects/mozilla/16507>. It only has to be used by the browser. DUP of 39042. The selection recognition is bug 10080. *** This bug has been marked as a duplicate of 39042 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Verified dup.
Status: RESOLVED → VERIFIED
Keywords: qawanted
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.